mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
revert electron tests
This commit is contained in:
@@ -28,15 +28,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
|
||||
cd $ROOT ; ulimit -n 4096 ; \
|
||||
cd $ROOT ; ulimit -n 4096 ; ELECTRON_RUN_AS_NODE=1 \
|
||||
"$CODE" \
|
||||
test/electron/index.js "$@"
|
||||
node_modules/mocha/bin/_mocha "$@"
|
||||
else
|
||||
cd $ROOT ; \
|
||||
cd $ROOT ; ELECTRON_RUN_AS_NODE=1 \
|
||||
"$CODE" \
|
||||
test/electron/index.js "$@"
|
||||
node_modules/mocha/bin/_mocha "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user