mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-08 03:44:22 -04:00
Merge remote-tracking branch 'rosslagerwall/python2'
This commit is contained in:
commit
b738ee189f
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
|
||||
def get(old,wc,rc):
|
||||
if ('xxx' in (rc, wc)):
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
#
|
||||
# Post-process the output of test-dumpevents and check it for correctness.
|
||||
#
|
||||
|
@ -76,8 +76,8 @@ run_tests () {
|
||||
fi
|
||||
done
|
||||
announce_n " test-dumpevents: "
|
||||
if python -c 'import sys; assert(sys.version_info >= (2, 4))' 2>/dev/null; then
|
||||
if $TEST_DIR/test-dumpevents | python $TEST_SRC_DIR/check-dumpevents.py >> "$TEST_OUTPUT_FILE" ;
|
||||
if python2 -c 'import sys; assert(sys.version_info >= (2, 4))' 2>/dev/null; then
|
||||
if $TEST_DIR/test-dumpevents | python2 $TEST_SRC_DIR/check-dumpevents.py >> "$TEST_OUTPUT_FILE" ;
|
||||
then
|
||||
announce OKAY ;
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user