Commit 9d1a8df3 by Miodrag Milanovic

Support custom shell scripts for now

parent ba890022
...@@ -2,7 +2,7 @@ import os ...@@ -2,7 +2,7 @@ import os
is_heavy_enabled = int(os.getenv('ENABLE_HEAVY_TESTS', '0')) == 1 is_heavy_enabled = int(os.getenv('ENABLE_HEAVY_TESTS', '0')) == 1
for root, dirs, files in sorted(os.walk(".")): for root, dirs, files in sorted(os.walk(".")):
for file in files: for file in files:
if file.endswith('.ys'): if file.endswith('.ys') or file.endswith('run-test.sh'):
dir = os.path.basename(root) dir = os.path.basename(root)
work = os.path.splitext(file)[0] work = os.path.splitext(file)[0]
heavy = os.path.exists(os.path.join(dir, "heavy_test")) heavy = os.path.exists(os.path.join(dir, "heavy_test"))
......
Markdown is supported
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