Files
George Hotz c331798201 move tests to test/backend (#14691)
* move tests to test/backend

* fix imports

* fix CI

* revert that one

* Fix formatting in README for test command
2026-02-12 11:09:44 +08:00

11 lines
391 B
Bash
Executable File

#!/bin/bash
set -e
HEAD=$(git rev-parse --abbrev-ref HEAD)
python test/external/process_replay/reset.py
CAPTURE_PROCESS_REPLAY=1 python test/backend/test_ops.py TestOps.test_add
git checkout master
git checkout $HEAD -- test/external/process_replay/process_replay.py
ASSERT_PROCESS_REPLAY=${ASSERT_PROCESS_REPLAY:-1} python test/external/process_replay/process_replay.py
git checkout $HEAD