Skip to content

Commit

Permalink
Update wdltoil_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
stxue1 authored Apr 24, 2024
1 parent 068717e commit e9610fe
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/toil/test/wdl/wdltoil_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class WDLConformanceTests(BaseWDLTest):
def setUpClass(cls) -> None:

url = "https://github.com/DataBiosphere/wdl-conformance-tests.git"
commit = "032fb99a1458d456b6d5f17d27928469ec1a1c68"
commit = "c87b62b4f460e009fd42edec13669c4db14cf90c"

p = subprocess.Popen(
f"git clone {url} {cls.wdl_dir} && cd {cls.wdl_dir} && git checkout {commit}",
Expand All @@ -64,7 +64,7 @@ def setUpClass(cls) -> None:
# estimated running time: 2 minutes
@slow
def test_conformance_tests_v10(self):
tests_to_run = "0,1,5-7,9-15,17,22-24,26,28-30,32-40,53,57-59,62,67-69"
tests_to_run = "0-15,17-20,22-71,73-77"
p = subprocess.run(self.base_command + ["-v", "1.0", "-n", tests_to_run], capture_output=True)

if p.returncode != 0:
Expand All @@ -75,14 +75,24 @@ def test_conformance_tests_v10(self):
# estimated running time: 2 minutes
@slow
def test_conformance_tests_v11(self):
tests_to_run = "2-11,13-15,17-20,22-24,26,29,30,32-40,53,57-59,62,67-69"
tests_to_run = "1-63,65-71,73-75,77"
p = subprocess.run(self.base_command + ["-v", "1.1", "-n", tests_to_run], capture_output=True)

if p.returncode != 0:
print(p.stdout.decode('utf-8', errors='replace'))

p.check_returncode()

@slow
def test_conformance_tests_integration(self):
ids_to_run = "encode,tut01,tut02,tut03,tut04"
p = subprocess.run(self.base_command + ["-v", "1.1", "--id", tests_to_run], capture_output=True)

if p.returncode != 0:
print(p.stdout.decode('utf-8', errors='replace'))

p.check_returncode()

@classmethod
def tearDownClass(cls) -> None:
upper_dir = os.path.dirname(os.getcwd())
Expand Down

0 comments on commit e9610fe

Please sign in to comment.