File: run-tests

package info (click to toggle)
rocsparse 6.4.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,428 kB
  • sloc: cpp: 234,069; f90: 9,307; sh: 2,262; python: 1,939; makefile: 1,585; ansic: 440; xml: 26
file content (12 lines) | stat: -rwxr-xr-x 397 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

testsdir="/usr/libexec/rocm/librocsparse1-tests"

# If autopkgtest called us, pass some extra options if not set
if [ -n "$AUTOPKGTEST_ARTIFACTS" ]; then
    # Save output as XML to artifacts, for download
    [ -n "${GTEST_OUTPUT:-}" ] || export GTEST_OUTPUT="xml:${AUTOPKGTEST_ARTIFACTS}/"
fi

# Pass on all arguments to this script to the test binary
"$testsdir"/rocsparse-test "$@"