Commit 9682d885 authored by Isuru Fernando's avatar Isuru Fernando
Browse files

Use spawn launch method in asv

In default method asv will close stdin and new pytools looks at stdin
to determine if the session is interactive.

Solution found in https://github.com/pandas-dev/pandas/pull/25237
parent 0ff42bda
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -37,8 +37,8 @@ fi
master_commit=`git rev-parse master`
test_commit=`git rev-parse HEAD`

asv run $master_commit...$master_commit~ --skip-existing --verbose --show-stderr
asv run $test_commit...$test_commit~ --skip-existing --verbose --show-stderr
asv run $master_commit...$master_commit~ --skip-existing --verbose --show-stderr --launch-method=spawn
asv run $test_commit...$test_commit~ --skip-existing --verbose --show-stderr --launch-method=spawn

output=`asv compare $master_commit $test_commit --factor 1 -s`
echo "$output"