From 729922cdae41e484575984c7641b95fbe5594d65 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 29 Apr 2025 17:48:51 +0200 Subject: [PATCH] intel/compiler tests: fix path-to-string conversion cc: mesa-stable Part-of: --- src/intel/compiler/elk/tests/run-test.py | 2 +- src/intel/compiler/tests/run-test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)