2023-02-03 12:31:39 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
CURRENT_DIR="$( dirname -- "$0"; )";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo -e "Running Profiler Tests"
|
|
|
|
|
|
2023-02-17 11:12:27 -06:00
|
|
|
echo -e "Running Unit tests for rocprofiler"
|
2023-02-03 12:31:39 -06:00
|
|
|
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
|