mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-07 11:20:16 -04:00
Fix some out-of-tree build bugs
This commit is contained in:
parent
dd4be76f83
commit
cbfc35f6b9
@ -28,7 +28,7 @@ fi
|
||||
TEST_DIR=.
|
||||
TEST_SRC_DIR=.
|
||||
|
||||
T=`echo "$0" | sed -e 's/test.sh$//'`
|
||||
T=`echo "$0" | sed -e 's/test.sh$//' | sed -e 's/test-script.sh//' `
|
||||
if test -x "$T/test-init"
|
||||
then
|
||||
TEST_DIR="$T"
|
||||
@ -82,7 +82,7 @@ run_tests () {
|
||||
fi
|
||||
done
|
||||
announce_n " test-dumpevents: "
|
||||
if python2 -c 'import sys; assert(sys.version_info >= (2, 4))' 2>/dev/null; then
|
||||
if python2 -c 'import sys; assert(sys.version_info >= (2, 4))' 2>/dev/null && -f $TEST_SRC_DIR/check-dumpevents; then
|
||||
if $TEST_DIR/test-dumpevents | python2 $TEST_SRC_DIR/check-dumpevents.py >> "$TEST_OUTPUT_FILE" ;
|
||||
then
|
||||
announce OKAY ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user