File: run-tests

package info (click to toggle)
rocblas 6.4.4-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,082,776 kB
  • sloc: cpp: 244,923; f90: 50,012; python: 50,003; sh: 24,630; asm: 8,917; makefile: 150; ansic: 107; xml: 36; awk: 14
file content (15 lines) | stat: -rwxr-xr-x 596 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

testsdir="/usr/libexec/rocm/librocblas4-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}/"
    # Also, rocblas-test now defaults to GTEST_LISTENER=NO_PASS_LINE_IN_LOG,
    # but we want to see all indidivual pass/fails
    [ -n "${GTEST_LISTENER:-}" ] || export GTEST_LISTENER=PASS_LINE_IN_LOG
fi

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