Author: jhen Date: Thu Dec 1 20:04:43 2016 New Revision: 288453 URL: http://llvm.org/viewvc/llvm-project?rev=288453&view=rev Log: [CUDA] Fix faulty test from rL288448
Summary: The test introduced by rL288448 is currently failing because unimportant but unexpected errors appear as output from a test compile line. This patch looks for a more specific error message, in order to avoid false positives. Reviewers: jlebar Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D27328 Switch to more specific error Modified: cfe/trunk/test/Driver/cuda-no-sanitizers.cu Modified: cfe/trunk/test/Driver/cuda-no-sanitizers.cu URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cuda-no-sanitizers.cu?rev=288453&r1=288452&r2=288453&view=diff ============================================================================== --- cfe/trunk/test/Driver/cuda-no-sanitizers.cu (original) +++ cfe/trunk/test/Driver/cuda-no-sanitizers.cu Thu Dec 1 20:04:43 2016 @@ -6,7 +6,7 @@ // RUN: %clang -### -target x86_64-linux-gnu -c --cuda-gpu-arch=sm_20 -fsanitize=address %s 2>&1 | \ // RUN: FileCheck %s -// CHECK-NOT: error: +// CHECK-NOT: error: unsupported option '-fsanitize=address' // CHECK-DAG: "-fcuda-is-device" // CHECK-NOT: "-fsanitize=address" // CHECK-DAG: "-triple" "x86_64--linux-gnu" _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits