[clang] [clang][test] Split AArch64 target feature checks across multiple lines. NFC (PR #99365)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 18 13:38:16 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `clang` at step 7 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/1896

Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Preprocessor/aarch64-target-features.c' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target aarch64-none-linux-gnu -x c -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -target aarch64-none-linux-gnu -x c -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
# RUN: at line 2
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target arm64-none-linux-gnu -x c -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -target arm64-none-linux-gnu -x c -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
# RUN: at line 68
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target aarch64-none-elf -march=armv8-r -x c -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -check-prefix CHECK-R-PROFILE
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -target aarch64-none-elf -march=armv8-r -x c -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -check-prefix CHECK-R-PROFILE
# RUN: at line 69
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target arm64-none-linux-gnu -march=armv8-r -x c -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -check-prefix CHECK-R-PROFILE
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -target arm64-none-linux-gnu -march=armv8-r -x c -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -check-prefix CHECK-R-PROFILE
# RUN: at line 72
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target aarch64-none-elf -x c -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -check-prefix CHECK-A-PROFILE
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -target aarch64-none-elf -x c -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -check-prefix CHECK-A-PROFILE
# RUN: at line 73
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target aarch64-none-elf -march=armv8-a -x c -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -check-prefix CHECK-A-PROFILE
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -target aarch64-none-elf -march=armv8-a -x c -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -check-prefix CHECK-A-PROFILE
# RUN: at line 74
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target arm64-none-linux-gnu -march=armv8-a -x c -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -check-prefix CHECK-A-PROFILE
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -target arm64-none-linux-gnu -march=armv8-a -x c -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -check-prefix CHECK-A-PROFILE
# RUN: at line 77
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target aarch64_be-none-elf -x c -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -check-prefix CHECK-BIGENDIAN
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -target aarch64_be-none-elf -x c -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -check-prefix CHECK-BIGENDIAN
# RUN: at line 80
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target aarch64-none-linux-gnu -march=armv8-a+crypto -x c -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe --check-prefix=CHECK-FEAT-CRYPTO Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -target aarch64-none-linux-gnu -march=armv8-a+crypto -x c -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' --check-prefix=CHECK-FEAT-CRYPTO 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
# RUN: at line 81
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target arm64-none-linux-gnu -march=armv8-a+crypto -x c -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe --check-prefix=CHECK-FEAT-CRYPTO Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -target arm64-none-linux-gnu -march=armv8-a+crypto -x c -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' --check-prefix=CHECK-FEAT-CRYPTO 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
# RUN: at line 86
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target aarch64-none-linux-gnu -march=armv8.4-a+crypto -x c -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe --check-prefix=CHECK-FEAT-CRYPTO-8_4 Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -target aarch64-none-linux-gnu -march=armv8.4-a+crypto -x c -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c' -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' --check-prefix=CHECK-FEAT-CRYPTO-8_4 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
# RUN: at line 87
...

```

https://github.com/llvm/llvm-project/pull/99365


More information about the cfe-commits mailing list