Changesets · Branches · Tags · Compare
| Changeset | a789da732aa8da6d47485c333ffaaee3552b046ad8981b486f95ca8e4a9d2425 |
|---|---|
| Author | Dan Johansson <dan.johansson@arm.com> · 2026-06-02 13:35 UTC |
| Committer | Dan Johansson <dan.johansson@arm.com> · 2026-06-02 13:35 UTC |
| Parents | 290274834361 |
1 file changed
modified .gitlab-ci.yml +7 −11
| @@ -519,7 +519,7 @@ | ||
| 519 | 519 | # Verify that all examples crashed with Illegal instruction (negative path coverage) |
| 520 | 520 | - test $(grep -cE "Illegal instruction\s+./'build/" output.txt) -eq $(ls -1 build | wc -l | tr -d ' ') |
| 521 | 521 | |
| 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. | |
| 523 | 523 | test-linux-aarch64-sme1only-fvp: |
| 524 | 524 | extends: |
| 525 | 525 | - .standard-rules |
| @@ -534,20 +534,16 @@ | ||
| 534 | 534 | export FVP_MODEL_EXTRA=" |
| 535 | 535 | -C cluster0.sve.has_sme2=0 |
| 536 | 536 | -C cluster0.sve.sme2_version=0" # Disable SME2. |
| 537 | - # Generate test script with negative and positive tests | |
| 537 | + # Generate test script | |
| 538 | 538 | - | |
| 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 | |
| 542 | 542 | find build -type f -perm -a=x \( -name \*_sme -o -name \*_sme_\* \) -print0 | \ |
| 543 | 543 | 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 | |
| 546 | 546 | 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 | |
| 551 | 547 | # Dump content for debugging purposes |
| 552 | 548 | - | |
| 553 | 549 | echo "Test script content:" |