Skip to content
Snippets Groups Projects
Commit b982968b authored by Maël Madon's avatar Maël Madon
Browse files

use current python executable to run tests with CLI version

parent 6138427e
No related branches found
No related tags found
No related merge requests found
Pipeline #5536 passed
from cgi import test
import os, subprocess
import os, subprocess, sys
class KTH_WL:
swf_file = "workloads/KTH-SP2-1996-2.1-cln.swf"
......@@ -30,7 +30,7 @@ def run_script(delim, threshold,
out_dir = os.path.abspath(f'test-out/{test_name}')
create_dir_rec_if_needed(out_dir)
args = ['swf2userSessions', f'--{delim}', str(threshold),
args = [sys.executable, 'swf2userSessions/swf2sessions.py', f'--{delim}', str(threshold),
'-q', input_swf, out_dir]
if graph:
args.append("--graph")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment