Test-Command: debian/tests/system-info
Features: test-name=system-info

# Re-run CPU-only test to ensure that installing the CUDA backend doesn't
# break the standard use case
Test-Command: /usr/libexec/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/ggml/test-backend-ops -b CPU
Features: test-name=backend-cpu
Depends: libggml0
Restrictions: allow-stderr

Test-Command: debian/tests/gpuisol-test-launcher nvidia
              /usr/libexec/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/ggml/test-backend-ops -b CUDA0
Features: test-name=backend-cuda
Architecture: amd64 arm64
Classes: nvidia-gpu
Depends: libggml0-backend-cuda
Restrictions: skippable, allow-stderr, skip-not-installable
