diff options
author | Haojian Wu <hokein@google.com> | 2016-10-07 09:23:28 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2016-10-07 09:23:28 +0000 |
commit | a2e56c95b44cf691571e03abde64c9afc4c5e597 (patch) | |
tree | 3f783c8d9554f84cfaede1efa8fdcd4869ffcd7c /clang-tools-extra/test/clang-move | |
parent | a3b5c9a00ad85b2a29fcfd0728cf8192e21debc7 (diff) |
Fix buildbot error.
The error maybe caused by the mixed environment of the two lint tests.
Cleanup the environment before running each test.
Diffstat (limited to 'clang-tools-extra/test/clang-move')
-rw-r--r-- | clang-tools-extra/test/clang-move/move-class.cpp | 1 | ||||
-rw-r--r-- | clang-tools-extra/test/clang-move/move-multiple-classes.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-move/move-class.cpp b/clang-tools-extra/test/clang-move/move-class.cpp index af49cf5e1e5..937bf937927 100644 --- a/clang-tools-extra/test/clang-move/move-class.cpp +++ b/clang-tools-extra/test/clang-move/move-class.cpp @@ -1,3 +1,4 @@ +// RUN: rm -rf %T/clang-move // RUN: mkdir -p %T/clang-move/build // RUN: sed 's|$test_dir|%/T/clang-move|g' %S/Inputs/database_template.json > %T/clang-move/compile_commands.json // RUN: cp %S/Inputs/test* %T/clang-move/ diff --git a/clang-tools-extra/test/clang-move/move-multiple-classes.cpp b/clang-tools-extra/test/clang-move/move-multiple-classes.cpp index 0633099789e..31a87f67da7 100644 --- a/clang-tools-extra/test/clang-move/move-multiple-classes.cpp +++ b/clang-tools-extra/test/clang-move/move-multiple-classes.cpp @@ -1,3 +1,4 @@ +// RUN: rm -rf %T/clang-move // RUN: mkdir -p %T/clang-move/build // RUN: sed 's|$test_dir|%/T/clang-move|g' %S/Inputs/database_template.json > %T/clang-move/compile_commands.json // RUN: cp %S/Inputs/multiple_class_test* %T/clang-move/ |