diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-13 15:49:38 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-13 15:49:38 +0200 |
| commit | be6dafcd106ff9c50c9fa316685874773f6b251e (patch) | |
| tree | dfa3cc1e7327bbfc636662b165c2f7822c585ca8 /tests/run.py | |
| parent | 17bfda379be17acb20abfb7f0c9231d36ef8766d (diff) | |
Update all integration tests and debug platform parsing
Diffstat (limited to 'tests/run.py')
| -rwxr-xr-x | tests/run.py | 4 |
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: |
