Skip to content

Commit 7abb47a

Browse files
authored
Add --no-sandbox to Chrome on MacOS to avoid warning
1 parent 6cef3e6 commit 7abb47a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ jobs:
169169
echo "Running DynamicLibraryManagerTests in Firefox"
170170
emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" DynamicLibraryManagerTests.html
171171
echo "Running CppInterOpTests in Google Chrome"
172-
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" CppInterOpTests.html
172+
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" CppInterOpTests.html
173173
echo "Running DynamicLibraryManagerTests in Google Chrome"
174-
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" DynamicLibraryManagerTests.html
174+
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" DynamicLibraryManagerTests.html
175175
176176
cd ../../
177177
emmake make -j ${{ env.ncpus }} install

.github/workflows/emscripten.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,9 +568,9 @@ jobs:
568568
echo "Running DynamicLibraryManagerTests in Firefox"
569569
emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" DynamicLibraryManagerTests.html
570570
echo "Running CppInterOpTests in Google Chrome"
571-
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" CppInterOpTests.html
571+
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" CppInterOpTests.html
572572
echo "Running DynamicLibraryManagerTests in Google Chrome"
573-
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" DynamicLibraryManagerTests.html
573+
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" DynamicLibraryManagerTests.html
574574
else
575575
export ARCHITECHURE=$(uname -m)
576576
echo $ARCHITECHURE

Emscripten-build-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless"
231231
echo "Running DynamicLibraryManagerTests in Firefox"
232232
emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" DynamicLibraryManagerTests.html
233233
echo "Running CppInterOpTests in Google Chrome"
234-
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" CppInterOpTests.html
234+
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" CppInterOpTests.html
235235
echo "Running DynamicLibraryManagerTests in Google Chrome"
236-
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" DynamicLibraryManagerTests.html
236+
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" DynamicLibraryManagerTests.html
237237
```
238238

239239
To do this on Ubuntu x86 execute the following

docs/Emscripten-build-instructions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,9 @@ We will run our tests in a fresh installed browser. Installing the browsers, and
250250
echo "Running DynamicLibraryManagerTests in Firefox"
251251
emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" DynamicLibraryManagerTests.html
252252
echo "Running CppInterOpTests in Google Chrome"
253-
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" CppInterOpTests.html
253+
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" CppInterOpTests.html
254254
echo "Running DynamicLibraryManagerTests in Google Chrome"
255-
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" DynamicLibraryManagerTests.html
255+
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" DynamicLibraryManagerTests.html
256256
257257
To do this on Ubuntu x86 execute the following
258258

0 commit comments

Comments
 (0)