tools/build/feature/test-all.c
Source file repositories/reference/linux-study-clean/tools/build/feature/test-all.c
File Facts
- System
- Linux kernel
- Corpus path
tools/build/feature/test-all.c- Extension
.c- Size
- 3772 bytes
- Lines
- 184
- Domain
- Support Tooling And Documentation
- Bucket
- tools
- Inferred role
- Support Tooling And Documentation: implementation source
- Status
- source implementation candidate
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
Dependency Surface
test-libpython.ctest-hello.ctest-libelf.ctest-gettid.ctest-glibc.ctest-libdw.ctest-eventfd.ctest-libelf-getphdrnum.ctest-libelf-gelf_getnote.ctest-libelf-getshdrstrndx.ctest-libelf-zstd.ctest-libslang.ctest-backtrace.ctest-libnuma.ctest-numa_num_possible_cpus.ctest-timerfd.ctest-stackprotector-all.ctest-zlib.ctest-pthread-attr-setaffinity-np.ctest-pthread-barrier.ctest-scandirat.ctest-sched_getcpu.ctest-libbabeltrace.ctest-lzma.ctest-bpf.ctest-sdt.ctest-setns.ctest-libaio.ctest-reallocarray.ctest-libzstd.ctest-libtraceevent.ctest-libopenssl.c
Detected Declarations
function main
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0
/*
* test-all.c: Try to build all the main testcases at once.
*
* A well-configured system will have all the prereqs installed, so we can speed
* up auto-detection on such systems.
*/
/*
* Quirk: Python headers cannot be in arbitrary places, so keep this testcase at
* the top:
*/
#define main main_test_libpython
# include "test-libpython.c"
#undef main
#define main main_test_hello
# include "test-hello.c"
#undef main
#define main main_test_libelf
# include "test-libelf.c"
#undef main
#define main main_test_gettid
# include "test-gettid.c"
#undef main
#define main main_test_glibc
# include "test-glibc.c"
#undef main
#define main main_test_libdw
# include "test-libdw.c"
#undef main
#define main main_test_eventfd
# include "test-eventfd.c"
#undef main
#define main main_test_libelf_getphdrnum
# include "test-libelf-getphdrnum.c"
#undef main
#define main main_test_libelf_gelf_getnote
# include "test-libelf-gelf_getnote.c"
#undef main
#define main main_test_libelf_getshdrstrndx
# include "test-libelf-getshdrstrndx.c"
#undef main
#define main main_test_libelf_zstd
# include "test-libelf-zstd.c"
#undef main
#define main main_test_libslang
# include "test-libslang.c"
#undef main
#define main main_test_backtrace
# include "test-backtrace.c"
#undef main
#define main main_test_libnuma
# include "test-libnuma.c"
#undef main
#define main main_test_numa_num_possible_cpus
# include "test-numa_num_possible_cpus.c"
#undef main
#define main main_test_timerfd
# include "test-timerfd.c"
#undef main
#define main main_test_stackprotector_all
# include "test-stackprotector-all.c"
#undef main
#define main main_test_zlib
# include "test-zlib.c"
#undef main
#define main main_test_pthread_attr_setaffinity_np
# include "test-pthread-attr-setaffinity-np.c"
#undef main
#define main main_test_pthread_barrier
# include "test-pthread-barrier.c"
Annotation
- Immediate include surface: `test-libpython.c`, `test-hello.c`, `test-libelf.c`, `test-gettid.c`, `test-glibc.c`, `test-libdw.c`, `test-eventfd.c`, `test-libelf-getphdrnum.c`.
- Detected declarations: `function main`.
- Atlas domain: Support Tooling And Documentation / tools.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.