gitlab: Force WINETEST_ARGS to always be a string array.

Fixes the test name passed to winetest.exe which is otherwise split
into a character array when there's a single line in the winetest.args
file, and then causes it to miss the test and always return success.
This commit is contained in:
Rémi Bernon 2024-01-15 08:59:06 +01:00 committed by Alexandre Julliard
parent ff1642f32c
commit a6b58a2c1f

View file

@ -79,7 +79,7 @@ test-win10-21h2-32:
tags:
- win10-21h2
script:
- $WINETEST_ARGS = Get-Content ./winetest.args
- $WINETEST_ARGS = @(Get-Content ./winetest.args)
- if ($WINETEST_ARGS.count -gt 0) { ./winetest.exe -q -q -o - -t gitlab -u $CI_JOB_URL @WINETEST_ARGS >winetest.log } else { echo $null >winetest.log }
after_script:
- Get-Content ./winetest.log
@ -100,7 +100,7 @@ test-win10-21h2-64:
tags:
- win10-21h2
script:
- $WINETEST_ARGS = Get-Content ./winetest.args
- $WINETEST_ARGS = @(Get-Content ./winetest.args)
- if ($WINETEST_ARGS.count -gt 0) { ./winetest64.exe -q -q -o - -t gitlab -u $CI_JOB_URL @WINETEST_ARGS >winetest.log } else { echo $null >winetest.log }
after_script:
- Get-Content ./winetest.log