forked from IQ.Lvbs/IQ.Pilot
IQ.Pilot Release Commit @ bec7652
This commit is contained in:
10
artifacts/package_sources/tinygrad/test/external/process_replay/local.sh
vendored
Executable file
10
artifacts/package_sources/tinygrad/test/external/process_replay/local.sh
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user