blob: 77eb725e5b09b0d4a4345af32adfdd2c32e238c0 [file] [log] [blame]
Fred Sladkey2973afa2022-08-29 18:11:25 -04001#!/bin/bash
2set -e
Fred Sladkey2973afa2022-08-29 18:11:25 -04003
Fred Sladkey7aea5532023-01-03 11:22:29 -05004# Runs host tests for all projects that support KMP except for Compose-specific projects which are
5# already covered by androidx_compose_multiplatform.sh
6
7# Must be run on Mac
8
Jim S6ab6b812023-05-02 10:30:58 -07009export ANDROIDX_PROJECTS=INFRAROGUE # TODO: Switch from `INFRAROGUE` to `KMP`
Fred Sladkey2973afa2022-08-29 18:11:25 -040010
11# disable GCP cache, these machines don't have credentials.
12export USE_ANDROIDX_REMOTE_BUILD_CACHE=false
13
14echo "Starting $0 at $(date)"
15
Rahul Ravikumarc9013222022-11-10 13:17:45 -080016cd "$(dirname $0)"
17
Rahul Ravikumard1c3e422022-11-10 10:46:09 -080018# Setup simulators
19impl/androidx-native-mac-simulator-setup.sh
20
Rahul Ravikumar0d76ea72022-11-11 00:48:09 -080021impl/build.sh darwinBenchmarkResults allTests \
Fred Sladkey2973afa2022-08-29 18:11:25 -040022 --no-configuration-cache \
23 -Pandroidx.ignoreTestFailures \
24 -Pandroidx.displayTestOutput=false \
25 "$@"
26
Aurimas Liutikas22d139f2023-04-04 21:28:30 +000027echo "Completing $0 at $(date)"