mirror of
https://github.com/ariya/phantomjs.git
synced 2024-09-17 15:47:09 +03:00
ba5998f74e
Also, trying to get the exit status of those tests reported, in case they fail. Related to #11952.
18 lines
279 B
Bash
Executable File
18 lines
279 B
Bash
Executable File
#!/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
|