test: Skip Xwayland test early if PIGLIT_DIR / XTEST_DIR isn't set
No point starting weston and waiting for it to start up in that case.
This commit is contained in:
parent
129ec1cb84
commit
d5ef57f1ef
|
@ -1,5 +1,17 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
if test "x$XTEST_DIR" = "x"; then
|
||||
echo "XTEST_DIR must be set to the directory of the xtest repository."
|
||||
# Exit as a "skip" so make check works even without xtest.
|
||||
exit 77
|
||||
fi
|
||||
|
||||
if test "x$PIGLIT_DIR" = "x"; then
|
||||
echo "PIGLIT_DIR must be set to the directory of the piglit repository."
|
||||
# Exit as a "skip" so make check works even without piglit.
|
||||
exit 77
|
||||
fi
|
||||
|
||||
# this times out on Travis, because the tests take too long.
|
||||
if test "x$TRAVIS_BUILD_DIR" != "x"; then
|
||||
exit 77
|
||||
|
|
Loading…
Reference in New Issue