export DISPLAY=
export WAFFLE_PLATFORM="surfaceless_egl"
+# Our rootfs may not have "less", which apitrace uses during apitrace dump
+export PAGER=cat
+
RESULTS=`pwd`/results
mkdir -p $RESULTS
# Perform a self-test to ensure tracie is working properly.
-python3 -m pytest -v --pyargs $INSTALL/tracie/tests/test.py
+if [ -z "$TRACIE_NO_UNIT_TESTS" ]; then
+ python3 -m pytest -v --pyargs $INSTALL/tracie/tests/test.py
+fi
if [ "$GALLIUM_DRIVER" = "virpipe" ]; then
# tracie is to use virpipe, and virgl_test_server llvmpipe