From f78f9a40824a47929fb910fe6deba069e47afdcf Mon Sep 17 00:00:00 2001 From: "Galantsev, Dmitrii" Date: Mon, 5 Jun 2023 17:06:46 -0500 Subject: [PATCH] Fix test temp blacklist, ignore TestVoltCurvRead Change-Id: I86fa14fdc06e1b170a0bc0c0727fc08e4f4e2074 Signed-off-by: Galantsev, Dmitrii --- tests/rocm_smi_test/rsmitst.exclude | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/rocm_smi_test/rsmitst.exclude b/tests/rocm_smi_test/rsmitst.exclude index 3de139d45f..4739f70b26 100644 --- a/tests/rocm_smi_test/rsmitst.exclude +++ b/tests/rocm_smi_test/rsmitst.exclude @@ -12,14 +12,16 @@ 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= +TEMPORARY_BLACKLIST_ALL_ASICS=\ +"rsmitstReadOnly.TestVoltCurvRead" -if [ -z $PERMANENT_BLACKLIST_ALL_ASICS -a -z $TEMPORARY_BLACKLIST_ALL_ASICS ]; then + +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" +"$PERMANENT_BLACKLIST_ALL_ASICS:"\ +"$TEMPORARY_BLACKLIST_ALL_ASICS" fi # Device specific blacklists @@ -63,4 +65,4 @@ $BLACKLIST_ALL_ASICS\ "rsmitstReadWrite.FanReadWrite:"\ "rsmitstReadWrite.TestOverdriveReadWrite:"\ "rsmitstReadWrite.TestPowerReadWrite:"\ -"rsmitstReadWrite.TestPowerCapReadWrite" \ No newline at end of file +"rsmitstReadWrite.TestPowerCapReadWrite"