run integration tests as part of build

This commit is contained in:
Benjamin Pasero 2015-11-24 07:43:13 +01:00
parent debe0292dd
commit f043b26dc2

View file

@ -7,6 +7,7 @@ else
ROOT=$(dirname $(dirname $(readlink -f $0)))
fi
# Unit Tests
if [[ "$OSTYPE" == "darwin"* ]]; then
cd $ROOT ; ulimit -n 4096 ; ATOM_SHELL_INTERNAL_RUN_AS_NODE=1 \
../Electron-Build/Electron.app/Contents/MacOS/Electron \
@ -16,3 +17,6 @@ else
../Electron-Build/electron \
node_modules/mocha/bin/_mocha $*
fi
# Integration Tests
./scripts/code.sh $ROOT/extensions/vscode-api-tests/testWorkspace --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out