0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test/src
Alex Rønne Petersen ad120ff12f test: refine the list of targets that get run in stack/error trace tests
Stack trace tests now run for most of the targets that we build module tests
for. However, we omit explicit targets that have no meaningful way of executing
on a non-native platform - whether through an emulator or 32-bit compatibility
layer. (There's no point building them if we cannot run them.) We also omit soft
float targets because there's nothing about float ABI that would affect stack
tracing. Finally, we currently omit Thumb targets because it turns out the stack
trace code does not work well at all on Thumb, and fixing this will likely
require us to implement ARM EHABI unwinding (#30931).

Error trace tests run on an even further reduced set of targets because we don't
care if libc is linked for those. Thumb is enabled here, though, since error
tracing seems unaffected by the aforementioned issue.

Also make these tests respect the various build options.

As far as CI goes, x86_64-linux will run the full set of tests (modulo
-Dtest-extra-targets) while all other machines only run native-compatible tests.
History 2026-08-10 22:19:02 +02:00
..
Cases.zig Update usages of most deprecated APIs 2026-08-05 03:40:30 +02:00
convert-stack-trace.zig Update usages of most deprecated APIs 2026-08-05 03:40:30 +02:00
Debugger.zig Update usages of most deprecated APIs 2026-08-05 03:40:30 +02:00
ErrorTrace.zig test: refine the list of targets that get run in stack/error trace tests 2026-08-10 22:19:02 +02:00
Libc.zig Update usages of most deprecated APIs 2026-08-05 03:40:30 +02:00
Link.zig Update usages of most deprecated APIs 2026-08-05 03:40:30 +02:00
LlvmIr.zig Update usages of most deprecated APIs 2026-08-05 03:40:30 +02:00
RunTranslatedC.zig Update usages of most deprecated APIs 2026-08-05 03:40:30 +02:00
StackTrace.zig test: refine the list of targets that get run in stack/error trace tests 2026-08-10 22:19:02 +02:00
TranslateC.zig Update usages of most deprecated APIs 2026-08-05 03:40:30 +02:00