Commit 907e2c84 authored by Isuru Fernando's avatar Isuru Fernando
Browse files

Let PYOPENCL_CTX be set in test script

parent 0f42d79a
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -12,6 +12,11 @@ if [[ -z "$PROJECT" ]]; then
    exit 1
fi

if [[ -z "$PYOPENCL_CTX" ]]; then
    echo "PYOPENCL_CTX env var not set"
    exit 1
fi

mkdir -p ~/.$PROJECT/asv

if [[ ! -z "$CI" ]]; then
@@ -28,8 +33,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