[LNT] r262226 - [test-suite] Add missing test input
James Molloy via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 29 06:49:06 PST 2016
Author: jamesm
Date: Mon Feb 29 08:49:05 2016
New Revision: 262226
URL: http://llvm.org/viewvc/llvm-project?rev=262226&view=rev
Log:
[test-suite] Add missing test input
Added:
lnt/trunk/tests/runtest/Inputs/test-suite-cmake/fake-lit-fails (with props)
Added: lnt/trunk/tests/runtest/Inputs/test-suite-cmake/fake-lit-fails
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/runtest/Inputs/test-suite-cmake/fake-lit-fails?rev=262226&view=auto
==============================================================================
--- lnt/trunk/tests/runtest/Inputs/test-suite-cmake/fake-lit-fails (added)
+++ lnt/trunk/tests/runtest/Inputs/test-suite-cmake/fake-lit-fails Mon Feb 29 08:49:05 2016
@@ -0,0 +1,11 @@
+#!/usr/bin/python
+
+import argparse, shutil, sys
+parser = argparse.ArgumentParser(description='dummy lit')
+parser.add_argument('-o')
+parser.add_argument('-j', type=int)
+parser.add_argument('bar')
+args, _ = parser.parse_known_args()
+
+shutil.copyfile(args.bar + '/fake-results.json', args.o)
+sys.exit(1)
\ No newline at end of file
Propchange: lnt/trunk/tests/runtest/Inputs/test-suite-cmake/fake-lit-fails
------------------------------------------------------------------------------
svn:executable = *
More information about the llvm-commits
mailing list