[all-commits] [llvm/llvm-project] d4cc00: [Clang][Driver] Split fsanitize.c test (#169952)
Marco Elver via All-commits
all-commits at lists.llvm.org
Fri Dec 5 02:33:11 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d4cc0072b3fbdeb07560bf961997ef05cee4fda0
https://github.com/llvm/llvm-project/commit/d4cc0072b3fbdeb07560bf961997ef05cee4fda0
Author: Marco Elver <elver at google.com>
Date: 2025-12-05 (Fri, 05 Dec 2025)
Changed paths:
A clang/test/Driver/fsanitize-annotate-debug-info.c
A clang/test/Driver/fsanitize-baremetal.c
A clang/test/Driver/fsanitize-cfi.c
A clang/test/Driver/fsanitize-leak.c
A clang/test/Driver/fsanitize-memtag.c
A clang/test/Driver/fsanitize-merge.c
A clang/test/Driver/fsanitize-minimal-runtime.c
A clang/test/Driver/fsanitize-numerical.c
A clang/test/Driver/fsanitize-realtime.c
A clang/test/Driver/fsanitize-recover.c
A clang/test/Driver/fsanitize-safe-stack.c
A clang/test/Driver/fsanitize-scudo.c
A clang/test/Driver/fsanitize-skip-hot-cutoff.c
A clang/test/Driver/fsanitize-trap.c
A clang/test/Driver/fsanitize-undefined.c
M clang/test/Driver/fsanitize.c
Log Message:
-----------
[Clang][Driver] Split fsanitize.c test (#169952)
The fsanitize.c test is one of the slowest tests we have:
```
-- Testing: 1 tests, 1 workers --
PASS: Clang :: Driver/fsanitize.c (1 of 1)
Testing Time: 18.42s
```
It has become the single monolithic test for almost all -fsanitize=
options. Given its current size, it makes sense to split it up into
smaller focused tests to allow for better parallelization but also help
the FileCheck tool by reducing number of lines to check.
The new test time with parallelization on my machine is:
```
-- Testing: 16 tests, 16 workers --
PASS: Clang :: Driver/fsanitize-numerical.c (1 of 16)
PASS: Clang :: Driver/fsanitize-safe-stack.c (2 of 16)
PASS: Clang :: Driver/fsanitize-memtag.c (3 of 16)
PASS: Clang :: Driver/fsanitize-realtime.c (4 of 16)
PASS: Clang :: Driver/fsanitize-baremetal.c (5 of 16)
PASS: Clang :: Driver/fsanitize-scudo.c (6 of 16)
PASS: Clang :: Driver/fsanitize-trap.c (7 of 16)
PASS: Clang :: Driver/fsanitize-leak.c (8 of 16)
PASS: Clang :: Driver/fsanitize-recover.c (9 of 16)
PASS: Clang :: Driver/fsanitize-skip-hot-cutoff.c (10 of 16)
PASS: Clang :: Driver/fsanitize-minimal-runtime.c (11 of 16)
PASS: Clang :: Driver/fsanitize-cfi.c (12 of 16)
PASS: Clang :: Driver/fsanitize-merge.c (13 of 16)
PASS: Clang :: Driver/fsanitize-annotate-debug-info.c (14 of 16)
PASS: Clang :: Driver/fsanitize-undefined.c (15 of 16)
PASS: Clang :: Driver/fsanitize.c (16 of 16)
Testing Time: 7.10s
```
The original Driver/fsanitize.c test remains for tests where it is
unclear that a single feature is being tested in isolation.
NFC.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list