Elffuss BraidHub

kikocis/kleidiai public

fix: Reduce scope of public sme1-only testing

Signed-off-by: Dan Johansson <dan.johansson@arm.com>

Approved-by: Emil Ohlsson <emil.ohlsson@arm.com>
Approved-by: Cathal Lawlor <cathal.lawlor@arm.com>
Changeseta789da732aa8da6d47485c333ffaaee3552b046ad8981b486f95ca8e4a9d2425
AuthorDan Johansson <dan.johansson@arm.com> · 2026-06-02 13:35 UTC
CommitterDan Johansson <dan.johansson@arm.com> · 2026-06-02 13:35 UTC
Parents290274834361

Browse the files at this changeset

1 file changed

modified .gitlab-ci.yml +7 −11
@@ -519,7 +519,7 @@
519519 # Verify that all examples crashed with Illegal instruction (negative path coverage)
520520 - test $(grep -cE "Illegal instruction\s+./'build/" output.txt) -eq $(ls -1 build | wc -l | tr -d ' ')
521521
522-# Purpose: FVP with only SME enabled (SME2 disabled); negative SME example runs + positive filtered unit tests.
522+# Purpose: FVP with only SME enabled (SME2 disabled); SME example runs.
523523 test-linux-aarch64-sme1only-fvp:
524524 extends:
525525 - .standard-rules
@@ -534,20 +534,16 @@
534534 export FVP_MODEL_EXTRA="
535535 -C cluster0.sve.has_sme2=0
536536 -C cluster0.sve.sme2_version=0" # Disable SME2.
537- # Generate test script with negative and positive tests
537+ # Generate test script
538538 - |
539- echo -e "#\!/bin/bash -ex" > run_tests.sh
540- echo "echo Perform a negative test with illegal instructions" >> run_tests.sh
541- # Find avaiable SME examples and execute them
539+ echo -e "#\!/bin/bash -ex" > run_tests.sh
540+ echo "echo Run SME examples" >> run_tests.sh
541+ # Find any SME examples and execute them
542542 find build -type f -perm -a=x \( -name \*_sme -o -name \*_sme_\* \) -print0 | \
543543 while read -d '' EXAMPLE; do
544- echo -e "echo \"Run '${EXAMPLE}'\"" >> run_tests.sh
545- echo -e "./'${EXAMPLE}' || true" >> run_tests.sh # Allow expected failure.
544+ echo -e "echo \"Run '${EXAMPLE}'\"" >> run_tests.sh
545+ echo -e "./'${EXAMPLE}' || exit 1" >> run_tests.sh
546546 done
547- echo "echo Perform a positive test with CPU feature detection" >> run_tests.sh
548- echo "export GTEST_OUTPUT=xml:kleidiai-${CI_JOB_NAME_SLUG}.xml" >> run_tests.sh
549- echo "export GTEST_BRIEF=1" >> run_tests.sh
550- echo "./build-clang/kleidiai_test --gtest_filter=*sme_* --gtest_random_seed=\${GLOBAL_TEST_SEED:-42} || exit 1" >> run_tests.sh
551547 # Dump content for debugging purposes
552548 - |
553549 echo "Test script content:"