#!/bin/sh

testsdir="/usr/libexec/rocm/$1"

# Any individual failure is overall failure
exitcode=0
for testname in "$testsdir"/*
do
	$testname --gtest_output=xml:${AUTOPKGTEST_ARTIFACTS}/ || exitcode=1
done
exit $exitcode
