#!/bin/zsh set -euo pipefail script_directory="${0:A:h}" project_directory="${script_directory:h}" scratch_directory="${DOLPHIN_HOST_TEST_SCRATCH:-${project_directory}/DerivedDataHostTests}" cd "${project_directory}" echo "Running Dolphin agent-logic tests on the macOS host." echo "SwiftUI, app lifecycle code, and the 1.81 GB Core ML package are excluded." swift test \ --package-path "${project_directory}" \ --scratch-path "${scratch_directory}"