# Smoketest These tests run `configure`'s pieces on real macOS, in throwaway virtual machines made with [Tart](https://tart.run) on an Apple silicon Mac. They check what can't be checked on Linux: - macOS' bash 3.2 - JavaScript for Automation, the keychain and `profiles` - `dns-sd` - Seatbelt, which srt's sandbox uses - launchd - Gatekeeper and code signatures - real downloads ## Running it On an Apple silicon Mac: ``` brew install cirruslabs/cli/tart smoketest/run --list # scenarios and their tier smoketest/run # the quick scenarios smoketest/run --tier all # everything, including the big downloads smoketest/run 60-backup # one scenario (or: smoketest/run 60) smoketest/run --keep 50 # leave the VM running afterwards, to look around smoketest/run --image ghcr.io/cirruslabs/macos-sequoia-vanilla:latest # another macOS ``` It tests the working copy as it is, including uncommitted changes. The first run downloads the image, about 25 GB. After that, each scenario takes a minute or two plus its own work. The backup scenario takes a few minutes, and `70-apps` downloads about 400 MB. Each run writes its logs to `smoketest/results/