1#!/bin/bash
2set -e
3
4# 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
9export ANDROIDX_PROJECTS=KMP
10
11echo "Starting $0 at $(date)"
12
13cd "$(dirname $0)"
14
15# Setup simulators
16impl/androidx-native-mac-simulator-setup.sh
17
18# simulator tests disabled due to b/350735930
19impl/build.sh allHostTests \
20    --no-configuration-cache \
21    -Pandroidx.ignoreTestFailures \
22    -Pandroidx.displayTestOutput=false \
23    -Pandroidx.lowMemory \
24    -x tvosSimulatorArm64Test \
25    -x watchosSimulatorArm64Test \
26    "$@"
27
28echo "Completing $0 at $(date)"
29