Author: jlebar Date: Thu Nov 17 19:11:32 2016 New Revision: 287292 URL: http://llvm.org/viewvc/llvm-project?rev=287292&view=rev Log: [CUDA] Attempt to fix test failures in cuda-macos-includes.cu.
Run clang -cc1 -E instead of -S, in an attempt to make this test work cross-platform. Modified: cfe/trunk/test/Preprocessor/cuda-macos-includes.cu Modified: cfe/trunk/test/Preprocessor/cuda-macos-includes.cu URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/cuda-macos-includes.cu?rev=287292&r1=287291&r2=287292&view=diff ============================================================================== --- cfe/trunk/test/Preprocessor/cuda-macos-includes.cu (original) +++ cfe/trunk/test/Preprocessor/cuda-macos-includes.cu Thu Nov 17 19:11:32 2016 @@ -1,10 +1,10 @@ // RUN: %clang -cc1 -fcuda-is-device -isysroot /var/empty \ // RUN: -triple nvptx-nvidia-cuda -aux-triple i386-apple-macosx \ -// RUN: -S -fcuda-is-device -v -o /dev/null -x cuda %s 2>&1 | FileCheck %s +// RUN: -E -fcuda-is-device -v -o /dev/null -x cuda %s 2>&1 | FileCheck %s // RUN: %clang -cc1 -isysroot /var/empty \ // RUN: -triple i386-apple-macosx -aux-triple nvptx-nvidia-cuda \ -// RUN: -S -fcuda-is-device -v -o /dev/null -x cuda %s 2>&1 | FileCheck %s +// RUN: -E -fcuda-is-device -v -o /dev/null -x cuda %s 2>&1 | FileCheck %s // Check that when we do CUDA host and device compiles on MacOS, we check for // includes in /System/Library/Frameworks and /Library/Frameworks. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits