From 9552328afff032d036931dc9516bb1ff7f2037f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Prchl=C3=ADk?= Date: Thu, 27 Jun 2024 14:27:53 +0200 Subject: [PATCH] Add coverage for RHEL-39953 --- tests/testsuite/test-with-cross.sh | 15 +++++++++++++++ tests/testsuite/test.sh | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/tests/testsuite/test-with-cross.sh b/tests/testsuite/test-with-cross.sh index 1c56495..c0ffcb1 100755 --- a/tests/testsuite/test-with-cross.sh +++ b/tests/testsuite/test-with-cross.sh @@ -101,6 +101,21 @@ rlJournalStart rlLogInfo "Failed tests:\n$(sort < "$tool_log.failed")" rlLogInfo "All tests:\n$(grep -E '^[A-Z]+:' "$tool_log.tests" | sort)" rlPhaseEnd + + rlPhaseStartTest "$tool_label / Verify interesting test cases" + if rlIsRHEL ">=9.5"; then + if [ "$TOOL" = "binutils" ]; then + rlRun "grep -E '^PASS: Check if efi app format is recognized' $tool_log.tests" 0 \ + "\"Check if efi app format is recognized\" upstream test case fails for aarch64 binutils builds (https://issues.redhat.com/browse/RHEL-39953)" + + else + rlLogInfo "No tests for binutils and >=RHEL-9.5.0" + fi + + else + rlLogInfo "No tests for >=RHEL-9.5.0" + fi + rlPhaseEnd done done diff --git a/tests/testsuite/test.sh b/tests/testsuite/test.sh index 383862b..a144ed4 100755 --- a/tests/testsuite/test.sh +++ b/tests/testsuite/test.sh @@ -75,6 +75,21 @@ rlJournalStart rlLogInfo "Failed tests:\n$(sort < "$tool_log.failed")" rlLogInfo "All tests:\n$(grep -E '^[A-Z]+:' "$tool_log.tests" | sort)" rlPhaseEnd + + rlPhaseStartTest "$tool_label / Verify interesting test cases" + if rlIsRHEL ">=9.5"; then + if [ "$TOOL" = "binutils" ]; then + rlRun "grep -E '^PASS: Check if efi app format is recognized' $tool_log.tests" \ + "\"Check if efi app format is recognized\" upstream test case fails for aarch64 binutils builds (https://issues.redhat.com/browse/RHEL-39953)" + + else + rlLogInfo "No tests for binutils and >=RHEL-9.5.0" + fi + + else + rlLogInfo "No tests for >=RHEL-9.5.0" + fi + rlPhaseEnd done rlPhaseStartCleanup