Skip to content

Commit b191c89

Browse files
committed
Testsuite: stop using e3.testsuite.process.check_call (obsolete)
Use instead `e3.testsuite.driver.classic.ClassicTestDriver.shell`, which is the intended way to spawn subprocesses from these drivers.
1 parent 9e3e6a2 commit b191c89

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

testsuite/drivers/shell.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from drivers import ALSTestDriver
2-
from e3.testsuite.process import check_call
32

43

54
class ShellTestDriver(ALSTestDriver):
@@ -8,13 +7,10 @@ class ShellTestDriver(ALSTestDriver):
87
"""
98

109
def run(self) -> None:
11-
1210
# This takes care of failing the test in case the return code is
1311
# non-zero
14-
p = check_call(
15-
self,
16-
[self.working_dir("test.sh"), self.env.repo_base],
17-
parse_shebang=True,
12+
p = self.shell(
13+
["bash", "test.sh", self.env.repo_base],
1814
env={
1915
"ALS": self.env.als,
2016
"ALS_HOME": self.env.als_home,

0 commit comments

Comments
 (0)