Skip to content

Commit

Permalink
Use spawn launch method in asv
Browse files Browse the repository at this point in the history
In default method asv will close stdin and new pytools looks at stdin
to determine if the session is interactive.

Solution found in pandas-dev/pandas#25237
  • Loading branch information
isuruf committed Jun 29, 2019
1 parent 0ff42bd commit 9682d88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-and-benchmark-py-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9682d88

Please sign in to comment.