projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
signal: change sig_waitTimeoutSignal() to accept custom timeout hook
[bertos.git]
/
test
/
parsetest.py
diff --git
a/test/parsetest.py
b/test/parsetest.py
index 959db34303919534b63f096230b72a85531fd62f..326bd3ffc71a4912c6841ff2ba41a4c4d760c388 100755
(executable)
--- a/
test/parsetest.py
+++ b/
test/parsetest.py
@@
-42,4
+42,6
@@
with open(sys.argv[1]) as f:
idx = line.find(TOKEN)
if idx != -1:
cmd = line[idx + len(TOKEN):].strip()
- os.system(cmd)
+ if os.system(cmd) != 0:
+ sys.exit(1)
+ sys.exit(0)