From: Artem Belevich Date: Wed, 11 Mar 2020 23:02:29 +0000 (-0700) Subject: Added constraints on cl-options.cu test X-Git-Tag: llvmorg-12-init~12366 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8527c1ed66c63db0590cd69320ba0bf8fad59b87;p=platform%2Fupstream%2Fllvm.git Added constraints on cl-options.cu test --- diff --git a/clang/test/Driver/cl-options.cu b/clang/test/Driver/cl-options.cu index 7597970..2fd393e 100644 --- a/clang/test/Driver/cl-options.cu +++ b/clang/test/Driver/cl-options.cu @@ -3,6 +3,10 @@ // Note: %s must be preceded by --, otherwise it may be interpreted as a // command-line option, e.g. on Mac where %s is commonly under /Users. +// REQUIRES: clang-driver +// REQUIRES: x86-registered-target +// REQUIRES: nvptx-registered-target + // -stack-protector should not be passed to device-side CUDA compilation // RUN: %clang_cl -### -nocudalib -nocudainc -- %s 2>&1 | FileCheck -check-prefix=GS-default %s // GS-default: "-cc1" "-triple" "nvptx64-nvidia-cuda"