# HG changeset patch
# User fubar
# Date 1605854294 0
# Node ID 6d122fd54cd0751b94e6af32841509c6cacd3032
# Parent e8f35fec0f2f0e8c3526de1c4874b1191667a1c5
Uploaded
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),
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
@@ -411,6 +411,7 @@
+