1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-09-17 15:47:09 +03:00
phantomjs/test/run-tests-ghostdriver.sh
Ivan De Marino ba5998f74e Making GhostDriver test "quiet-er" (and parallel)
Also, trying to get the exit status of those tests reported, in case they fail.

Related to #11952.
2014-03-09 01:02:21 +00:00

18 lines
279 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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