文件
rocm-systems/tests/run_tests.sh
T
Ammar ELWazir 8032adb64f Adding rocprofilerv2
Change-Id: Ic0cc280ba207d2b8f6ccae1cd4ac3184152fc1ad
2023-03-09 13:20:33 +00:00

24 行
867 B
Bash
可执行文件

#!/bin/bash
CURRENT_DIR="$( dirname -- "$0"; )";
export PATH=$rocmtoolsdir:$PATH
echo -e "Running Profiler Tests"
echo -e "Running Unit tests for rocmtools"
eval ${CURRENT_DIR}/tests/unittests/core/runCoreUnitTests
eval ${CURRENT_DIR}/tests/unittests/profiler/runProfilerUnitTests
echo -e "Running Feature Tests for diff Applicaitons;i.e: HSA,HIP,OpenMP,MPI"
eval ${CURRENT_DIR}/tests/featuretests/profiler/runFeatureTests
echo -e "Running Functional Tests; i.e: Load/Unload, Stress Tests"
eval ${CURRENT_DIR}/tests/featuretests/profiler/runFunctionalTests
echo -e "Running Standalone Tests"
echo -e "Warning: Some of these tests are path dependent.Please comment out next line if it fails"
eval ${CURRENT_DIR}/tests/featuretests/profiler/run_discrete_tests.sh
echo -e "Running Tracer Tests"
eval ${CURRENT_DIR}/tests/featuretests/tracer/runTracerFeatureTests