[clang-tools-extra] r191215 - Fixed test for compilation databases.
Ariel J. Bernal
ariel.j.bernal at intel.com
Mon Sep 23 12:02:26 PDT 2013
Author: ajbernal
Date: Mon Sep 23 14:02:25 2013
New Revision: 191215
URL: http://llvm.org/viewvc/llvm-project?rev=191215&view=rev
Log:
Fixed test for compilation databases.
Fixed test that was previously failing due to concurrency.
Modified:
clang-tools-extra/trunk/test/clang-modernize/Compilations/compilation_not_inc.cpp
Modified: clang-tools-extra/trunk/test/clang-modernize/Compilations/compilation_not_inc.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-modernize/Compilations/compilation_not_inc.cpp?rev=191215&r1=191214&r2=191215&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-modernize/Compilations/compilation_not_inc.cpp (original)
+++ clang-tools-extra/trunk/test/clang-modernize/Compilations/compilation_not_inc.cpp Mon Sep 23 14:02:25 2013
@@ -14,9 +14,9 @@
// RUN: sed -e 's#$(path)#%/T/CompilationNotInc#g' %S/Inputs/compile_commands.json > %T/CompilationNotInc/compile_commands.json
// Check that no files are tranformed when -p is specified but not -include.
-// RUN: cp %S/Inputs/compilations.cpp %T/DetectFromSource/a1
-// RUN: cp %S/Inputs/compilations.cpp %T/DetectFromSource/a2
-// RUN: cp %S/Inputs/compilations.cpp %T/DetectFromSource/a3
+// RUN: cp %S/Inputs/compilations.cpp %T/CompilationNotInc/a1
+// RUN: cp %S/Inputs/compilations.cpp %T/CompilationNotInc/a2
+// RUN: cp %S/Inputs/compilations.cpp %T/CompilationNotInc/a3
// RUN: not clang-modernize -use-nullptr -p=%T/CompilationNotInc
// RUN: not diff -b %T/compilations_expected.cpp %T/CompilationNotInc/a1/compilations.cpp
More information about the cfe-commits
mailing list