File: run-tests

package info (click to toggle)
hipsolver 6.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,096 kB
  • sloc: cpp: 72,703; f90: 8,280; sh: 573; python: 531; ansic: 84; makefile: 51; xml: 10
file content (15 lines) | stat: -rwxr-xr-x 520 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/libhipsolver0-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}/"
    # We want to see all individual 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"/hipsolver-test "$@"