Mercurial > repos > fubar > tool_factory_2
diff toolfactory/rgToolFactory2.py @ 95:6d122fd54cd0 draft
Uploaded
author | fubar |
---|---|
date | Fri, 20 Nov 2020 06:38:14 +0000 |
parents | 7176af503cdd |
children | d54976fc996a |
line wrap: on
line diff
--- a/toolfactory/rgToolFactory2.py Fri Nov 20 01:35:25 2020 +0000 +++ b/toolfactory/rgToolFactory2.py Fri Nov 20 06:38:14 2020 +0000 @@ -20,7 +20,9 @@ # essential problem is to create two command lines - one for the tool xml and a different # one to run the executable with the supplied test data and settings # Be simpler to write the tool, then run it with planemo and soak up the test outputs. - +# well well. sh run_tests.sh --id rgtf2 --report_file tool_tests_tool_conf.html functional.test_toolbox +# does the needful. Use GALAXY_TEST_SAVE /foo to save outputs - only the tar.gz - not the rest sadly +# GALAXY_TEST_NO_CLEANUP GALAXY_TEST_TMP_DIR=wherever import argparse import datetime @@ -898,6 +900,7 @@ if genoutputs: dummy, tfile = tempfile.mkstemp() cll = [ + ".", os.path.join(self.args.galaxy_root,'.venv','bin','activate'),"&&", "planemo", "test", "--test_data", os.path.abspath(self.testdir), @@ -918,6 +921,7 @@ else: cll = [ + ".", os.path.join(self.args.galaxy_root,'.venv','bin','activate'),"&&", "planemo", "test", "--test_data", os.path.abspath(self.testdir),