Skip to content

Commit 30f1a63

Browse files
committed
Removing old tests
1 parent e85be62 commit 30f1a63

12 files changed

+22
-210
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ release: tag_major_minor
228228
docker push $(NAME)/standalone-chrome-debug:$(MAJOR_MINOR_PATCH)
229229
docker push $(NAME)/standalone-firefox-debug:$(MAJOR_MINOR_PATCH)
230230

231-
test: test_chrome \
231+
test: test_shell_functions \
232+
test_chrome \
232233
test_firefox \
233234
test_chrome_debug \
234235
test_firefox_debug \
@@ -238,6 +239,9 @@ test: test_chrome \
238239
test_firefox_standalone_debug
239240

240241

242+
test_shell_functions:
243+
./tests/test-shell-functions.sh
244+
241245
test_chrome:
242246
VERSION=$(VERSION) NAMESPACE=$(NAMESPACE) ./tests/bootstrap.sh NodeChrome
243247

Test/.dockerignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

Test/Dockerfile

Lines changed: 0 additions & 5 deletions
This file was deleted.

Test/package.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

Test/smoke-chrome.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

Test/smoke-firefox.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

Test/smoke-phantomjs.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

Test/smoke-test.js

Lines changed: 0 additions & 41 deletions
This file was deleted.

sa-test.sh

Lines changed: 0 additions & 41 deletions
This file was deleted.

test-repeat.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

test.sh

Lines changed: 0 additions & 95 deletions
This file was deleted.

tests/test-shell-functions.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
3+
# Due to the dependency GNU sed, we're skipping this part when running
4+
# on Mac OS X.
5+
if [ "$(uname)" != 'Darwin' ] ; then
6+
echo 'Testing shell functions...'
7+
which bats > /dev/null 2>&1
8+
if [ $? -ne 0 ] ; then
9+
echo "Could not find 'bats'. Please install it first, e.g., following https://github.com/sstephenson/bats#installing-bats-from-source."
10+
exit 1
11+
fi
12+
NodeBase/test-functions.sh || exit 1
13+
else
14+
echo 'Skipping shell functions test on Mac OS X.'
15+
fi
16+
17+
echo "Done testing shell functions!"

0 commit comments

Comments
 (0)