diff --git a/src/intel/compiler/elk/tests/run-test.py b/src/intel/compiler/elk/tests/run-test.py index 1b85726e0d5..4e703287799 100755 --- a/src/intel/compiler/elk/tests/run-test.py +++ b/src/intel/compiler/elk/tests/run-test.py @@ -46,7 +46,7 @@ for asm_file in args.gen_folder.glob('*.asm'): command = elk_asm + [ '--type', 'hex', '--gen', args.gen_name, - asm_file + asm_file.as_posix() ] stdout = subprocess.check_output(command, timeout=1).decode() lines_after = stdout.splitlines(keepends=True) diff --git a/src/intel/compiler/tests/run-test.py b/src/intel/compiler/tests/run-test.py index 5cf0d1506b6..b311f0f37f5 100755 --- a/src/intel/compiler/tests/run-test.py +++ b/src/intel/compiler/tests/run-test.py @@ -46,7 +46,7 @@ for asm_file in args.gen_folder.glob('*.asm'): command = brw_asm + [ '--type', 'hex', '--gen', args.gen_name, - asm_file + asm_file.as_posix() ] stdout = subprocess.check_output(command, timeout=1).decode() lines_after = stdout.splitlines(keepends=True)