From c7070324f3f4fe67712f35f7a7f91f5a44a1d4ff Mon Sep 17 00:00:00 2001 From: Chris Freehill Date: Thu, 17 Oct 2019 11:29:02 -0500 Subject: [PATCH] Support rsmitst blacklisting by adding an exclude file Change-Id: I9d581b8e24363a688b58a6ca59a6521c7be364d7 [ROCm/amdsmi commit: 3a26a7270c952dc9628618ca090751e47be02e48] --- .../tests/rocm_smi_test/rsmitst.exclude | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 projects/amdsmi/tests/rocm_smi_test/rsmitst.exclude diff --git a/projects/amdsmi/tests/rocm_smi_test/rsmitst.exclude b/projects/amdsmi/tests/rocm_smi_test/rsmitst.exclude new file mode 100644 index 0000000000..a42e598c7a --- /dev/null +++ b/projects/amdsmi/tests/rocm_smi_test/rsmitst.exclude @@ -0,0 +1,39 @@ +declare -A FILTER + +# FILTER is meant to be used with a negative gtest filter + +# Permanent exclusions +# These tests are included for debugging, but are not executed in normal +# execution on any ASIC: +PERMANENT_BLACKLIST_ALL_ASICS= + +# This is the temporary blacklist for all ASICs. This is to be used when a test +# is failing consistently +TEMPORARY_BLACKLIST_ALL_ASICS= + +if [ -z $PERMANENT_BLACKLIST_ALL_ASICS -a -z $TEMPORARY_BLACKLIST_ALL_ASICS ]; then + BLACKLIST_ALL_ASICS= +else + BLACKLIST_ALL_ASICS=\ + "$PERMANENT_BLACKLIST_ALL_ASICS:"\ + "$TEMPORARY_BLACKLIST_ALL_ASICS" +fi + +# ASIC specific blacklists +FILTER[vega10]=\ +$BLACKLIST_ALL_ASICS + +# SWDEV-207510 rsmitstReadOnly.TestFrequenciesRead .TestProcInfoRead tests +# error on mi50, mi100 +FILTER[vega20]=\ +$BLACKLIST_ALL_ASICS\ +"rsmitstReadOnly.TestFrequenciesRead:"\ +"rsmitstReadOnly.TestProcInfoRead" + +# SWDEV-207510 rsmitstReadOnly.TestFrequenciesRead .TestProcInfoRead tests +# error on mi50, mi100 +FILTER[arcturus]=\ +$BLACKLIST_ALL_ASICS\ +"rsmitstReadOnly.TestFrequenciesRead:"\ +"rsmitstReadOnly.TestProcInfoRead" +