Commit a6b58a2c authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

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.
parent ff1642f3
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment