Changeset: 0cb98deadb20 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/0cb98deadb20
Modified Files:
testing/Mtest.py.in
Branch: Aug2024
Log Message:
Add TIMEOUT to environment during testing.
diffs (12 lines):
diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -2726,6 +2726,8 @@ def RunIt(cmd, onechild, TestIn, TestOut
if procdebug:
print('RunIt: starting process "%s"\n' % '" "'.join(cmd))
setpgrp = True
+ if TimeOut:
+ os.environ['TIMEOUT'] = str(TimeOut)
with process.Popen(cmd, stdin=TestIn, stdout=TestOut,
stderr=TestErr, text=True) as proc:
proc.killed = False
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]