Author: aadg
Date: Thu May 1 14:36:13 2014
New Revision: 207787
URL: http://llvm.org/viewvc/llvm-project?rev=207787&view=rev
Log:
PR19601: testcase improvement
The test can now catch all cases:
- no removal of the 'no-integrated-as' flag
- bogus removal of the flag, like when the remove_if was not followed by an
erase
Modified:
cfe/trunk/test/Tooling/multi-jobs.cpp
Modified: cfe/trunk/test/Tooling/multi-jobs.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Tooling/multi-jobs.cpp?rev=207787&r1=207786&r2=207787&view=diff
==============================================================================
--- cfe/trunk/test/Tooling/multi-jobs.cpp (original)
+++ cfe/trunk/test/Tooling/multi-jobs.cpp Thu May 1 14:36:13 2014
@@ -1,5 +1,6 @@
// RUN: not clang-check "%s" -- -no-integrated-as -c 2>&1 | FileCheck %s
-// RUN: not clang-check "%s" -- -target x86_64-win32 -no-integrated-as -c 2>&1
| FileCheck %s
+// The following test uses multiple time the same '-no-integrated-as' flag in
order to make sure those flags are really skipped, and not just overwritten by
luck :
+// RUN: not clang-check "%s" -- -target x86_64-win32 -c -no-integrated-as
-no-integrated-as -no-integrated-as 2>&1 | FileCheck %s
// CHECK: C++ requires
invalid;
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits