From 4ea6a6f0ed471495d387c83a1a37353152873429 Mon Sep 17 00:00:00 2001 From: Paulius Velesko Date: Thu, 15 Aug 2024 09:55:52 +0300 Subject: [PATCH] exclude aborts and asserts from testing --- scripts/unit_tests.sh | 1 + tests/known_failures.yaml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/unit_tests.sh b/scripts/unit_tests.sh index 7c7d8cdac..cf046aa85 100755 --- a/scripts/unit_tests.sh +++ b/scripts/unit_tests.sh @@ -174,6 +174,7 @@ function check_tests { if ! grep -q "The following tests FAILED" "$file"; then return 0 else + echo "Checking $file" grep -E "The following tests FAILED:" -A 1000 "$file" | sed '/^$/q' | tail -n +2 return 1 fi diff --git a/tests/known_failures.yaml b/tests/known_failures.yaml index f4ea0ec75..8aed8eec1 100644 --- a/tests/known_failures.yaml +++ b/tests/known_failures.yaml @@ -1,6 +1,9 @@ TOTAL_TESTS: 1397 ANY: ALL: + TestAssert: 'Works only on dGPU, otherwise, things being printed out of order' + TestAssertFail: 'Works only on dGPU, otherwise, things being printed out of order' + abort: 'Works only on dGPU, otherwise, things being printed out of order' hipcc-invalid-bitwidth-128: 'InvalidBitWidth: Invalid bit width in input: 128' host-math-funcs: 'host and dev results differ' shfl_sync: 'masks outside of 0xFFFFFFFF are not supported' @@ -491,7 +494,7 @@ salami: LEVEL0_GPU: OPENCL_CPU: OPENCL_GPU: - Unit_hipGraphAddEventRecordNode_Functional_Simple: '' + Unit_hipGraphAddEventRecordNode_Functional_Simple: '' Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags: '' Unit_hipGraphAddEventRecordNode_Functional_WithFlags: '' Unit_hipGraphAddEventRecordNode_Functional_TimingDisabled: ''