summaryrefslogtreecommitdiff
path: root/tests/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run.py')
-rwxr-xr-xtests/run.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run.py b/tests/run.py
index 0af8d1c..043441a 100755
--- a/tests/run.py
+++ b/tests/run.py
@@ -10,12 +10,12 @@ tests_path = os.path.dirname(os.path.realpath(__file__))
for file in os.listdir(tests_path):
current_test_path=os.path.join(tests_path,file)
if os.path.isdir(current_test_path):
- simulator_path=os.path.join(current_test_path,"simulator.py")
+ platform_path=os.path.join(current_test_path,"platform.yaml")
out_path=os.path.join(current_test_path,"out")
print("- %-40s%s " % (file,"=>"),end='')
try:
start_at=time.time()
- out=subprocess.check_output([sys.executable, simulator_path],stderr=subprocess.STDOUT,timeout=tests_timeout,encoding="utf-8")
+ out=subprocess.check_output(["esds", "run", platform_path],stderr=subprocess.STDOUT,timeout=tests_timeout,encoding="utf-8")
out_expected=open(out_path).read()
end_at=time.time()
if out_expected != out: