From 51508dcf43fb77a91021d1b430390539823f18af Mon Sep 17 00:00:00 2001 From: Martin Kampas Date: Mon, 24 Feb 2014 16:13:13 +0000 Subject: functional-tests: 400-extractor.py expects different arguments The tests.xml is autogenerated by create-tests-xml.py. It scans all *.py scripts for test class definitions and generate one test case for each class found. In that test case it invokes the script with the class name passed as an argument. 400-extractor.py expect different kind of argument. --- tests/functional-tests/400-extractor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/functional-tests/400-extractor.py b/tests/functional-tests/400-extractor.py index 063d56276..552d98c5a 100755 --- a/tests/functional-tests/400-extractor.py +++ b/tests/functional-tests/400-extractor.py @@ -268,6 +268,9 @@ if __name__ == "__main__": else: if os.path.exists (sys.argv[1]) and sys.argv[1].endswith (".expected"): run_one (sys.argv[1]) + # FIXME: for the case when invoked by testrunner (see create-tests-xml.py) + elif sys.argv[1] == "ExtractionTestCase": + run_all () else: print "Usage: %s [FILE.expected]" % (sys.argv[0]) -- cgit v1.2.1