[llvm] 7906c03 - Move (llvm-original-di-preservation) test example output into the Inputs directory (since it's an input to the test execution)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 11 17:36:48 PST 2021
Author: David Blaikie
Date: 2021-03-11T17:36:33-08:00
New Revision: 7906c0309beb709aa55c9dee8491881524b349ad
URL: https://github.com/llvm/llvm-project/commit/7906c0309beb709aa55c9dee8491881524b349ad
DIFF: https://github.com/llvm/llvm-project/commit/7906c0309beb709aa55c9dee8491881524b349ad.diff
LOG: Move (llvm-original-di-preservation) test example output into the Inputs directory (since it's an input to the test execution)
The "Inputs" subdirectory is used for all files read by the test, not
only those used as input to the execution - so even though this file is
used as a golden reference for the output of the test, it's still an
input to the test execution (it is read in the process of executing the
test).
Added:
llvm/test/tools/llvm-original-di-preservation/Inputs/expected-sample.html
Modified:
llvm/test/tools/llvm-original-di-preservation/basic.test
Removed:
llvm/test/tools/llvm-original-di-preservation/Outputs/sample.html
################################################################################
diff --git a/llvm/test/tools/llvm-original-di-preservation/Outputs/sample.html b/llvm/test/tools/llvm-original-di-preservation/Inputs/expected-sample.html
similarity index 100%
rename from llvm/test/tools/llvm-original-di-preservation/Outputs/sample.html
rename to llvm/test/tools/llvm-original-di-preservation/Inputs/expected-sample.html
diff --git a/llvm/test/tools/llvm-original-di-preservation/basic.test b/llvm/test/tools/llvm-original-di-preservation/basic.test
index dc87cd6d6da5..1d7924ba65ce 100644
--- a/llvm/test/tools/llvm-original-di-preservation/basic.test
+++ b/llvm/test/tools/llvm-original-di-preservation/basic.test
@@ -1,2 +1,2 @@
RUN: %llvm-original-di-preservation %p/Inputs/sample.json %t.html
-RUN:
diff -w %p/Outputs/sample.html %t.html
+RUN:
diff -w %p/Inputs/expected-sample.html %t.html
More information about the llvm-commits
mailing list