| 1 |
declare -A FILTER |
| 2 |
|
| 3 |
# FILTER is meant to be used with a negative gtest filter |
| 4 |
|
| 5 |
# Designate the tests to be excluded from all test runs first, |
| 6 |
# followed by tests that should be excluded by device. |
| 7 |
|
| 8 |
# Permanent exclusions |
| 9 |
# These tests are included for debugging, but are not executed in normal |
| 10 |
# execution on any ASIC: |
| 11 |
PERMANENT_BLACKLIST_ALL_ASICS= |
| 12 |
|
| 13 |
# This is the temporary blacklist for all ASICs. This is to be used when a test |
| 14 |
# is failing consistently |
| 15 |
TEMPORARY_BLACKLIST_ALL_ASICS="CperEntriesTest.*" |
| 16 |
|
| 17 |
|
| 18 |
if [ -z "$PERMANENT_BLACKLIST_ALL_ASICS" -a -z "$TEMPORARY_BLACKLIST_ALL_ASICS" ]; then |
| 19 |
BLACKLIST_ALL_ASICS= |
| 20 |
else |
| 21 |
BLACKLIST_ALL_ASICS=\ |
| 22 |
"$PERMANENT_BLACKLIST_ALL_ASICS:"\ |
| 23 |
"$TEMPORARY_BLACKLIST_ALL_ASICS:" |
| 24 |
fi |
| 25 |
|
| 26 |
# Device specific blacklists |
| 27 |
FILTER[vega10]=\ |
| 28 |
$BLACKLIST_ALL_ASICS\ |
| 29 |
"CperEntriesTest.*" |
| 30 |
|
| 31 |
# SWDEV-207510 |
| 32 |
FILTER[vega20]=\ |
| 33 |
$BLACKLIST_ALL_ASICS\ |
| 34 |
"CperEntriesTest.*:"\ |
| 35 |
"amdsmitstReadOnly.TestFrequenciesRead:"\ |
| 36 |
"amdsmitstReadOnly.TestProcInfoRead" |
| 37 |
|
| 38 |
# SWDEV-207510 |
| 39 |
FILTER[arcturus]=\ |
| 40 |
$BLACKLIST_ALL_ASICS\ |
| 41 |
"CperEntriesTest.*:"\ |
| 42 |
"amdsmitstReadOnly.TestFrequenciesRead:"\ |
| 43 |
"amdsmitstReadWrite.TestFrequenciesReadWrite:"\ |
| 44 |
"amdsmitstReadOnly.TestProcInfoRead" |
| 45 |
|
| 46 |
# SWDEV-306889 |
| 47 |
FILTER[aldebaran]=\ |
| 48 |
$BLACKLIST_ALL_ASICS\ |
| 49 |
"CperEntriesTest.*:"\ |
| 50 |
"amdsmitstReadOnly.FanRead:"\ |
| 51 |
"amdsmitstReadOnly.TestVoltCurvRead:"\ |
| 52 |
"amdsmitstReadOnly.TestFrequenciesRead:"\ |
| 53 |
"amdsmitstReadWrite.FanReadWrite:"\ |
| 54 |
"amdsmitstReadWrite.TestFrequenciesReadWrite:"\ |
| 55 |
"amdsmitstReadWrite.TestPciReadWrite:"\ |
| 56 |
"amdsmitstReadWrite.TestPowerReadWrite" |
| 57 |
|
| 58 |
# SWDEV-319795 |
| 59 |
FILTER[sienna_cichlid]=\ |
| 60 |
$BLACKLIST_ALL_ASICS\ |
| 61 |
"CperEntriesTest.*:"\ |
| 62 |
"amdsmitstReadWrite.TestPerfLevelReadWrite" |
| 63 |
|
| 64 |
# SWDEV-321166 |
| 65 |
FILTER[virtualization]=\ |
| 66 |
$BLACKLIST_ALL_ASICS\ |
| 67 |
"amdsmitstReadOnly.TestOverdriveRead:"\ |
| 68 |
"amdsmitstReadOnly.TestGPUBusyRead:"\ |
| 69 |
"amdsmitstReadWrite.FanReadWrite:"\ |
| 70 |
"amdsmitstReadWrite.TestOverdriveReadWrite:"\ |
| 71 |
"amdsmitstReadWrite.TestPowerReadWrite:"\ |
| 72 |
"amdsmitstReadWrite.TestPowerCapReadWrite" |
| 73 |
|
| 74 |
# SWDEV-391407 and PLAT-156250 |
| 75 |
# aqua_vanjaram and later systems show 'ip discovery' in |
| 76 |
# /sys/class/kfd/kfd/topology/nodes/*/name |
| 77 |
# |
| 78 |
# For those systems gfx_target_version must be used. It can be found in |
| 79 |
# /sys/class/kfd/kfd/topology/nodes/*/properties |
| 80 |
FILTER[90400]=\ |
| 81 |
$BLACKLIST_ALL_ASICS\ |
| 82 |
"rsmitstReadOnly.TestVoltCurvRead" |
| 83 |
FILTER[90401]=${FILTER[90400]} |
| 84 |
FILTER[90402]=${FILTER[90400]} |