Commit bed53bca authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Some tests perform custom regression scenarios.

parent 787a3be3
......@@ -47,8 +47,12 @@ def build_me(folder):
os.system("cp build.log $CIRCLE_ARTIFACTS/" + folder + "_build.log")
if res != 0:
return folder, False, "Build failed..."
if os.path.exists("regression.py"):
res = os.system("./regression.py > regression.log 2>&1 || exit 1")
for cmd in ["./regression.sh", "./regression.py"]:
if os.path.exists(cmd):
break
else:
return folder, True, "OK"
res = os.system(cmd + " > regression.log 2>&1 || exit 1")
if os.getenv("CIRCLE_ARTIFACTS") is not None:
os.system("cp regression.log $CIRCLE_ARTIFACTS/" + folder + "_regression.log")
if res != 0:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment