mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
make xvfb an arg
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
xvfb-run ./test.sh "$@"
|
||||
@@ -29,9 +29,15 @@ test -d node_modules || ./scripts/npm.sh install
|
||||
# Build
|
||||
test -d out || ./node_modules/.bin/gulp compile
|
||||
echo "code $CODE"
|
||||
|
||||
# Unit Tests
|
||||
export VSCODE_DEV=1
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
|
||||
if [[ "$1" == "--xvfb" ]]; then
|
||||
cd $ROOT ; \
|
||||
xvfb-run "$CODE" test/electron/index.js "$@"
|
||||
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
cd $ROOT ; ulimit -n 4096 ; \
|
||||
"$CODE" \
|
||||
test/electron/index.js "$@"
|
||||
|
||||
Reference in New Issue
Block a user