Repository 'tool_factory_2'
hg clone https://toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2

Changeset 95:6d122fd54cd0 (2020-11-20)
Previous changeset 94:e8f35fec0f2f (2020-11-20) Next changeset 96:d54976fc996a (2020-11-20)
Commit message:
Uploaded
modified:
toolfactory/rgToolFactory2.py
toolfactory/rgToolFactory2.xml
b
diff -r e8f35fec0f2f -r 6d122fd54cd0 toolfactory/rgToolFactory2.py
--- 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),
b
diff -r e8f35fec0f2f -r 6d122fd54cd0 toolfactory/rgToolFactory2.xml
--- a/toolfactory/rgToolFactory2.xml Fri Nov 20 01:35:25 2020 +0000
+++ b/toolfactory/rgToolFactory2.xml Fri Nov 20 06:38:14 2020 +0000
b
@@ -411,6 +411,7 @@
     <param name="choosescript" value="yes" />
     <param name="script_path" value="$runme"/>
     <output name="new_tool" file="toolfactory_pyrevpos_tgz_sample" compare="sim_size" delta="6000" />
+    <output name="output2" file="output2_sample" compare="diff" />
 
 </test>
 </tests>