mirror of https://github.com/vitalif/phantomjs
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
|