mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
Merge pull request #48 from rosslagerwall/py-version
Require python version
This commit is contained in:
commit
7f62f4ab2e
@ -106,7 +106,7 @@ run_tests () {
|
||||
FAILED=yes
|
||||
fi
|
||||
announce_n " test-dumpevents: "
|
||||
if test "`which python 2>/dev/null`" != ""; then
|
||||
if python -c 'import sys; assert(sys.version_info >= (2, 4))' 2>/dev/null; then
|
||||
if $TEST_DIR/test-dumpevents | python $TEST_DIR/check-dumpevents.py >> "$TEST_OUTPUT_FILE" ;
|
||||
then
|
||||
announce OKAY ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user