File: run-tests-ghostdriver.sh

package info (click to toggle)
phantomjs 2.1.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 9,268 kB
  • ctags: 7,827
  • sloc: cpp: 6,363; ansic: 4,601; java: 2,041; python: 1,244; sh: 395; ruby: 48; cs: 27; xml: 14; makefile: 12
file content (17 lines) | stat: -rwxr-xr-x 279 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash

# Go to GhostDriver (Java) Tests
pushd ./test/ghostdriver-test/java

# Ensure Gradle Wrapper is executable
chmod +x ./gradlew

# Run tests
./gradlew test -q
# Grab exit status
TEST_EXIT_STATUS=$?

# Return to starting directory
popd

exit $TEST_EXIT_STATUS