diff --git a/build-and-benchmark-py-project.sh b/build-and-benchmark-py-project.sh index 707cd6b1882dd26c83bcb52dd5ee7a457061f183..eb6aaed7be3e9aac0395539135a66075d205bbdc 100644 --- a/build-and-benchmark-py-project.sh +++ b/build-and-benchmark-py-project.sh @@ -5,13 +5,16 @@ pip install asv conda list -PY_EXE=python - if [[ -z "$PROJECT" ]]; then echo "PROJECT env var not set" exit 1 fi +if [[ -z "$PYOPENCL_TEST" ]]; then + echo "PYOPENCL_TEST env var not set" + exit 1 +fi + mkdir -p ~/.$PROJECT/asv if [[ ! -z "$CI" ]]; then @@ -28,8 +31,6 @@ asv machine --yes master_commit=`git rev-parse master` test_commit=`git rev-parse HEAD` -export PYOPENCL_CTX=port - asv run $master_commit...$master_commit~ --skip-existing --verbose asv run $test_commit...$test_commit~ --skip-existing --verbose