From 1fb2d844ede7a3d0f1554cf66f0f79999017fe85 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Wed, 17 May 2017 11:48:46 +0200 Subject: [PATCH] remove build from test script --- build/tfs/linux/build.sh | 6 +++--- scripts/test.sh | 7 ------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/build/tfs/linux/build.sh b/build/tfs/linux/build.sh index 1c5afd88aa9..f86e9f71827 100755 --- a/build/tfs/linux/build.sh +++ b/build/tfs/linux/build.sh @@ -25,15 +25,15 @@ step "Install distro dependencies" \ step "Build minified" \ npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-min" +# step "Run unit tests" \ +# [[ "$ARCH" == "x64" ]] && ./scripts/test.sh --xvfb --build --reporter dot + step "Build Debian package" \ npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-build-deb" step "Build RPM package" \ npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-build-rpm" -#step "Run unit tests" \ - #[[ "$ARCH" == "x64" ]] && ./scripts/test.sh --xvfb --build --reporter dot - (cd $BUILD_SOURCESDIRECTORY/build/tfs/common && \ step "Install build dependencies" \ npm install --unsafe-perm) diff --git a/scripts/test.sh b/scripts/test.sh index ebe39774193..19b79bf5843 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -26,17 +26,10 @@ test -d node_modules || ./scripts/npm.sh install # Get electron (test -f "$CODE" && [ $INTENDED_VERSION == $INSTALLED_VERSION ]) || ./node_modules/.bin/gulp electron -# Build -test -d out || ./node_modules/.bin/gulp compile -echo "code $CODE" - # Unit Tests -export VSCODE_DEV=1 - if [[ "$1" == "--xvfb" ]]; then cd $ROOT ; \ xvfb-run "$CODE" test/electron/index.js "$@" - elif [[ "$OSTYPE" == "darwin"* ]]; then cd $ROOT ; ulimit -n 4096 ; \ "$CODE" \ -- GitLab