-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new script to run all tests, removed top-level build.gradle bec…
…ause of issues with AS Change-Id: I52e0f400f7995d8f45e65320fc911aed70f601ab
- Loading branch information
1 parent
9d9557d
commit f16ac90
Showing
8 changed files
with
33 additions
and
314 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
ui/espresso/BasicSample | ||
ui/espresso/CustomMatcherSample | ||
ui/espresso/MultiWindowSample | ||
ui/espresso/DataAdapterSample | ||
ui/espresso/IntentsBasicSample | ||
ui/espresso/IntentsAdvancedSample | ||
ui/espresso/WebBasicSample | ||
ui/uiautomator/BasicSample | ||
runner/AndroidJunitRunnerSample | ||
unit/BasicSample | ||
unit/BasicUnitAndroidTest | ||
integration/ServiceTestRuleSample |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
set -e # Exit immediately if a command exits with a non-zero status. | ||
|
||
for p in $(cat projects.conf); do | ||
echo | ||
echo | ||
echo Running unit and Android tests in $p | ||
echo "=====================================================================" | ||
|
||
pushd $p > /dev/null # Silent pushd | ||
./gradlew $@ test cAT | sed "s@^@$p @" # Prefix every line with directory | ||
code=${PIPESTATUS[0]} | ||
if [ "$code" -ne "0" ]; then | ||
exit $code | ||
fi | ||
popd > /dev/null # Silent popd | ||
done | ||
|
||
echo | ||
echo "ALL TESTS PASS" |