Lines Matching +full:- +full:- +full:run +full:- +full:affected
9 # https://www.apache.org/licenses/LICENSE-2.0
18 set -ex
25 # By default we run tests on device
31 --shard-count=*)
35 --unit-tests)
39 --shard-index=*)
43 --log-file=*)
47 --run-affected)
51 --run-flaky-tests)
55 --affected-base-ref=*)
67 if [[ ! -z "$LOG_FILE" ]]; then
72 # Filter out flaky tests if we're not set to run them
73 if [[ -z "$RUN_FLAKY" ]]; then
74 …FILTER_OPTS="$FILTER_OPTS -Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test…
77 # If we're set to only run affected test, update the Gradle task
78 if [[ ! -z "$RUN_AFFECTED" ]]; then
84 TASK="$TASK -Paffected_module_detector.enable"
87 if [[ ! -z "$BASE_REF" ]]; then
88 TASK="$TASK -Paffected_base_ref=$BASE_REF"
93 if [[ -z "$TASK" ]]; then
102 if [ "$SHARD_COUNT" -gt "0" ]; then
105 SHARD_OPTS="$SHARD_OPTS -Pandroid.testInstrumentationRunnerArguments.numShards=$SHARD_COUNT"
106 SHARD_OPTS="$SHARD_OPTS -Pandroid.testInstrumentationRunnerArguments.shardIndex=$SHARD_INDEX"
109 ./gradlew --scan --continue --no-configuration-cache --stacktrace $TASK $FILTER_OPTS $SHARD_OPTS