nir: Add and use nir_foreach_block_unstructured helpers
[mesa.git] / .gitlab-ci / tracie-runner-vk.sh
index 6f0c46fd41562aa6b66f56b368c8d46d46702f46..f046b7c9b4052f571f6954708b5282e21dca3ba1 100755 (executable)
@@ -21,21 +21,17 @@ export DXVK_LOG_LEVEL="none"
 export DXVK_STATE_CACHE=0
 
 # Perform a self-test to ensure tracie is working properly.
-"$INSTALL/tracie/tests/test.sh"
+python3 -m pytest -v --pyargs $INSTALL/tracie/tests/test.py
 
 # Sanity check to ensure that our environment is sufficient to make our tests
 # run against the Mesa built by CI, rather than any installed distro version.
 MESA_VERSION=$(cat "$INSTALL/VERSION" | sed 's/\./\\./g')
 vulkaninfo | grep "Mesa $MESA_VERSION\(\s\|$\)"
 
-ret=0
-
 # Run gfxreconstruct traces against the host's running X server (xvfb
 # doesn't have DRI3 support).
 # Set the DISPLAY env variable in each gitlab-runner's configuration
 # file:
 # https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runners-section
 PATH="/gfxreconstruct/build/bin:$PATH" \
-    python3 $INSTALL/tracie/tracie.py --file $INSTALL/traces.yml --device-name $DEVICE_NAME
-
-exit $ret
+    python3 "$INSTALL/tracie/tracie.py" --file "$INSTALL/traces.yml" --device-name "$DEVICE_NAME"