Author: jlebar Date: Mon Jan 25 16:52:31 2016 New Revision: 258737 URL: http://llvm.org/viewvc/llvm-project?rev=258737&view=rev Log: [CUDA] Add -target to cuda-constructor-alias.cu test so it doesn't fail on Mac.
The test was checking that we passed -mconstructor-alias to host compilation, but that explicitly shouldn't happen on Mac. Modified: cfe/trunk/test/Driver/cuda-constructor-alias.cu Modified: cfe/trunk/test/Driver/cuda-constructor-alias.cu URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cuda-constructor-alias.cu?rev=258737&r1=258736&r2=258737&view=diff ============================================================================== --- cfe/trunk/test/Driver/cuda-constructor-alias.cu (original) +++ cfe/trunk/test/Driver/cuda-constructor-alias.cu Mon Jan 25 16:52:31 2016 @@ -5,7 +5,7 @@ // Check that we don't pass -mconstructor-aliases to CUDA device-side // compilation, but we do pass it to host-side compilation. -// RUN: %clang -### %s 2>&1 | FileCheck %s +// RUN: %clang -### -target x86_64-linux-gnu %s 2>&1 | FileCheck %s // CHECK: "-cc1" // CHECK-NOT: "-fcuda-is-device" {{.*}}"-mconstructor-aliases" // CHECK-NOT: "-mconstructor-aliases" {{.*}}"-fcuda-is-device" _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits