File size: 459 Bytes
7b2dfc5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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}"