Skip to content

Commit 1fb2d84

Browse files
committed
remove build from test script
1 parent 2fb3b18 commit 1fb2d84

2 files changed

Lines changed: 3 additions & 10 deletions

File tree

build/tfs/linux/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ step "Install distro dependencies" \
2525
step "Build minified" \
2626
npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-min"
2727

28+
# step "Run unit tests" \
29+
# [[ "$ARCH" == "x64" ]] && ./scripts/test.sh --xvfb --build --reporter dot
30+
2831
step "Build Debian package" \
2932
npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-build-deb"
3033

3134
step "Build RPM package" \
3235
npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-build-rpm"
3336

34-
#step "Run unit tests" \
35-
#[[ "$ARCH" == "x64" ]] && ./scripts/test.sh --xvfb --build --reporter dot
36-
3737
(cd $BUILD_SOURCESDIRECTORY/build/tfs/common && \
3838
step "Install build dependencies" \
3939
npm install --unsafe-perm)

scripts/test.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,10 @@ test -d node_modules || ./scripts/npm.sh install
2626
# Get electron
2727
(test -f "$CODE" && [ $INTENDED_VERSION == $INSTALLED_VERSION ]) || ./node_modules/.bin/gulp electron
2828

29-
# Build
30-
test -d out || ./node_modules/.bin/gulp compile
31-
echo "code $CODE"
32-
3329
# Unit Tests
34-
export VSCODE_DEV=1
35-
3630
if [[ "$1" == "--xvfb" ]]; then
3731
cd $ROOT ; \
3832
xvfb-run "$CODE" test/electron/index.js "$@"
39-
4033
elif [[ "$OSTYPE" == "darwin"* ]]; then
4134
cd $ROOT ; ulimit -n 4096 ; \
4235
"$CODE" \

0 commit comments

Comments
 (0)