File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
dotnet_sdk_version=" $2 "
4
4
dotnet_runtime_version=" $3 "
5
+ helixQueue=" $5 "
5
6
installPlaywright=" ${10} "
6
7
7
8
RESET=" \033[0m"
@@ -28,7 +29,11 @@ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
28
29
29
30
# Set playwright stuff
30
31
export PLAYWRIGHT_BROWSERS_PATH=" $DIR /ms-playwright"
31
- export PLAYWRIGHT_DRIVER_PATH=" $DIR /.playwright/unix/native/playwright.sh"
32
+ if [[ " $helixQueue " == * " OSX" * ]]; then
33
+ export PLAYWRIGHT_DRIVER_PATH=" $DIR /.playwright/osx/native/playwright.sh"
34
+ else
35
+ export PLAYWRIGHT_DRIVER_PATH=" $DIR /.playwright/unix/native/playwright.sh"
36
+ fi
32
37
export InstallPlaywright=" $installPlaywright "
33
38
if [ -f " $PLAYWRIGHT_DRIVER_PATH " ]; then
34
39
echo " chmod +x $PLAYWRIGHT_DRIVER_PATH "
@@ -96,8 +101,8 @@ exit_code=0
96
101
echo " Restore: $DOTNET_ROOT /dotnet restore RunTests/RunTests.csproj --ignore-failed-sources"
97
102
$DOTNET_ROOT /dotnet restore RunTests/RunTests.csproj --ignore-failed-sources
98
103
99
- echo " Running tests: $DOTNET_ROOT /dotnet run --no-restore --project RunTests/RunTests.csproj -- --target $1 --runtime $4 --queue $5 --arch $6 --quarantined $7 --ef $8 --helixTimeout $9 "
100
- $DOTNET_ROOT /dotnet run --no-restore --project RunTests/RunTests.csproj -- --target $1 --runtime $4 --queue $5 --arch $6 --quarantined $7 --ef $8 --helixTimeout $9
104
+ echo " Running tests: $DOTNET_ROOT /dotnet run --no-restore --project RunTests/RunTests.csproj -- --target $1 --runtime $4 --queue $helixQueue --arch $6 --quarantined $7 --ef $8 --helixTimeout $9 "
105
+ $DOTNET_ROOT /dotnet run --no-restore --project RunTests/RunTests.csproj -- --target $1 --runtime $4 --queue $helixQueue --arch $6 --quarantined $7 --ef $8 --helixTimeout $9
101
106
exit_code=$?
102
107
echo " Finished tests...exit_code=$exit_code "
103
108
You can’t perform that action at this time.
0 commit comments