removed extra, unnecessary run in texttest_rig.py

This commit is contained in:
Ralf Comtesse committed 2025-09-29 22:16:04 +02:00
1 parent c3692a1e82
commit 86bcfd62a7
2 files changed
+8 -31

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env python
"""
This script uses Gradle to execute the TexttestFixture.
This script uses sbt to execute the TexttestFixture.
It is designed to be used by TextTest and specified in the file 'texttests/config.gr' in this repo.
It is more convenient for TextTest to use since Gradle needs
several arguments in addition to the one the TextTest fixture needs.
@@ -11,4 +11,4 @@ import sys
args = " ".join(sys.argv[1:])
TEXTTEST_HOME = os.environ.get("TEXTTEST_HOME", os.getcwd())
subprocess.run(f"""(cd {TEXTTEST_HOME}/scala/; sbt run "Test / runMain com.gildedrose.TexttestFixture {args}") """, shell=True)
subprocess.run(f"""(cd {TEXTTEST_HOME}/scala/; sbt "Test / runMain com.gildedrose.TexttestFixture {args}") """, shell=True)