Skip to content

add a skip reason to show up in the build runner summary #14965

Description

@andrewrk

Extracted from #14647.

For example, a useful one will be "foreign binary", which might look like this:

[nix-shell:~/Downloads/zig/build-release]$ stage3/bin/zig build test-compiler-rt -fsummary
Build Summary: 24/35 steps succeeded; 11 skipped; 1460/1494 tests passed; 34 skipped
test-compiler-rt success
├─ run test compiler-rt-native-Debug-bare-multi-default 243 passed 6 skipped 214ms MaxRSS:15M
│  └─ zig test Debug native success 15s MaxRSS:374M
├─ run test compiler-rt-x86_64-linux-none-Debug-bare-multi-default 243 passed 6 skipped 130ms MaxRSS:15M
│  └─ zig test Debug x86_64-linux-none success 50s MaxRSS:430M
├─ run test compiler-rt-x86-linux-none-Debug-bare-multi-default 243 passed 6 skipped 229ms MaxRSS:15M
│  └─ zig test Debug x86-linux-none success 29s MaxRSS:458M
├─ run test compiler-rt-aarch64-linux-none-Debug-bare-multi-default skipped foreign binary
│  └─ zig test Debug aarch64-linux-none success 26s MaxRSS:412M
├─ run test compiler-rt-arm-linux-none-Debug-bare-multi-default skipped foreign binary
│  └─ zig test Debug arm-linux-none success 41s MaxRSS:386M
├─ run test compiler-rt-mips-linux-none-Debug-bare-multi-default skipped foreign binary
│  └─ zig test Debug mips-linux-none success 50s MaxRSS:414M
├─ run test compiler-rt-mipsel-linux-none-Debug-bare-multi-default skipped foreign binary
│  └─ zig test Debug mipsel-linux-none success 41s MaxRSS:408M
├─ run test compiler-rt-powerpc-linux-none-Debug-bare-multi-default skipped foreign binary
│  └─ zig test Debug powerpc-linux-none success 41s MaxRSS:404M
├─ run test compiler-rt-powerpc64le-linux-none-Debug-bare-multi-default skipped foreign binary
│  └─ zig test Debug powerpc64le-linux-none success 27s MaxRSS:387M
├─ run test compiler-rt-riscv64-linux-none-Debug-bare-multi-default skipped foreign binary
│  └─ zig test Debug riscv64-linux-none success 36s MaxRSS:433M
├─ run test compiler-rt-x86_64-macos-none-Debug--multi-default skipped foreign binary
│  └─ zig test Debug x86_64-macos-none success 41s MaxRSS:425M
├─ run test compiler-rt-aarch64-macos-none-Debug--multi-default skipped foreign binary
│  └─ zig test Debug aarch64-macos-none success 41s MaxRSS:407M
├─ run test compiler-rt-x86-windows-msvc-Debug-bare-multi-default skipped foreign binary
│  └─ zig test Debug x86-windows-msvc success 36s MaxRSS:445M
├─ run test compiler-rt-x86_64-windows-msvc-Debug-bare-multi-default skipped foreign binary
│  └─ zig test Debug x86_64-windows-msvc success 50s MaxRSS:445M
├─ run test compiler-rt-native-ReleaseFast-bare-multi-default 244 passed 5 skipped 18ms MaxRSS:15M
│  └─ zig test ReleaseFast native success 50s MaxRSS:384M
├─ run test compiler-rt-native-ReleaseSafe-bare-multi-default 243 passed 6 skipped 33ms MaxRSS:15M
│  └─ zig test ReleaseSafe native success 39s MaxRSS:326M
└─ run test compiler-rt-native-ReleaseSmall-bare-multi-default 244 passed 5 skipped 20ms MaxRSS:15M
   └─ zig test ReleaseSmall native success 40s MaxRSS:330M

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.zig build systemstd.Build, the build runner, `zig build` subcommand, package management

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions