mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:51:11 +00:00
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:
parent
ff1642f32c
commit
a6b58a2c1f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue