Mac test utility (#986)
A utility for running individual or all tests on a Mac dev machine without changing the test script.
This commit is contained in:
@@ -7,6 +7,14 @@ ROOT=$(dirname $0)/../../..
|
||||
fn=spec-$(date +%N)
|
||||
env=python-$fn
|
||||
|
||||
cleanup() {
|
||||
pushd $ROOT/examples/python
|
||||
fission spec destroy
|
||||
rm -rf $ROOT/examples/python/specs
|
||||
}
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
pushd $ROOT/examples/python
|
||||
|
||||
fission spec init
|
||||
|
||||
Reference in New Issue
Block a user