debian/bin/run-tests
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | testsdir="/usr/libexec/rocm/libhipfft0-tests" |
| 4 | |
| 5 | # If autopkgtest called us, pass some extra options if not set |
| 6 | if [ -n "$AUTOPKGTEST_ARTIFACTS" ]; then |
| 7 | # Save output as XML to artifacts, for download |
| 8 | [ -n "${GTEST_OUTPUT:-}" ] || export GTEST_OUTPUT="xml:${AUTOPKGTEST_ARTIFACTS}/" |
| 9 | fi |
| 10 | |
| 11 | # Pass on all arguments to this script to the test binary |
| 12 | "$testsdir"/hipfft-test "$@" |