1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
Description: Make test_solver actually call the solver
(i.e. have more than 1 job that could be run first)
Related to (but not a fix for) https://launchpad.net/bugs/1928940
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
--- a/tests/test_solver/Snakefile
+++ b/tests/test_solver/Snakefile
@@ -2,7 +2,7 @@ shell.executable("bash")
rule all:
input:
- "test.out"
+ "test.out", "test1.out", "test2.out"
rule a:
output:
@@ -17,3 +17,15 @@ rule b:
"test.out"
shell:
"echo test1 > {output}"
+
+rule c1:
+ output:
+ "test1.out"
+ shell:
+ "echo testA > {output}"
+
+rule c2:
+ output:
+ "test2.out"
+ shell:
+ "echo testB > {output}"
--- /dev/null
+++ b/tests/test_solver/expected-results/test1.out
@@ -0,0 +1 @@
+testA
--- /dev/null
+++ b/tests/test_solver/expected-results/test2.out
@@ -0,0 +1 @@
+testB
|