Update preset.
[bertos.git] / test / parsetest.py
index 959db34303919534b63f096230b72a85531fd62f..326bd3ffc71a4912c6841ff2ba41a4c4d760c388 100755 (executable)
@@ -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)