phantomjs/test/run-tests-ghostdriver.sh

18 lines
279 B
Bash
Raw Normal View History

#!/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