@@ -43,59 +43,48 @@ These tests verify that specific toolchain features are correctly implemented an
4343 - Tests ` -iquote ` quote search paths
4444 - Verifies ` -isystem ` system include paths
4545
46- 3 . ** ` warnings_test ` ** - Warning level configuration
47- - Tests strict_warnings, minimal_warnings, warnings_as_errors features
48- - Includes code patterns that trigger specific warnings
49-
50- 4 . ** ` warning_override_test ` ** - Warning feature override via user flags
51- - Regression test verifying user flags (copts) can override enabled warning features
52- - Enables both ` strict_warnings ` and ` warnings_as_errors ` features (making warnings into errors)
53- - Provides conflicting ` -Wno-shadow ` via copts to override the warning
54- - Validates that the flag ordering is correct: user_compile_flags comes after warning features,
55- ensuring user flags take precedence. If ordering regresses, compilation will fail with an error.
56-
57- 5 . ** ` coverage_test ` ** - Code coverage instrumentation
46+ 3 . ** ` coverage_test ` ** - Code coverage instrumentation
5847 - Verifies code coverage instrumentation flags are applied
5948 - Provides multiple code paths for coverage analysis
6049 - Can be analyzed with: ` bazel coverage --combined_report=lcov //feature_verification:coverage_test `
6150
62- 6 . ** ` pic_test ` ** - Position-Independent Code (` -fPIC ` )
51+ 4 . ** ` pic_test ` ** - Position-Independent Code (` -fPIC ` )
6352 - Tests -fPIC flag is correctly applied
6453 - Validates position-independent code patterns
6554 - Tests polymorphism, static variables, and C linkage with PIC
6655
67- 7 . ** ` pthread_test ` ** - POSIX threading support
56+ 5 . ** ` pthread_test ` ** - POSIX threading support
6857 - Verifies ` -lpthread ` correctly links pthread library
6958 - Tests thread creation, synchronization, and joining
7059 - Validates multiple threads can safely access shared state
7160
72- 8 . ** ` multifile_test ` ** - Multi-file compilation and archiving
61+ 6 . ** ` multifile_test ` ** - Multi-file compilation and archiving
7362 - Tests multiple source files compile into separate object files
7463 - Validates object files are combined by archiver into static libraries
7564 - Complex operations across multiple object files link correctly
7665
77- 9 . ** ` whole_archive_test ` ** - Whole-archive linking (` -Wl,--whole-archive ` )
66+ 7 . ** ` whole_archive_test ` ** - Whole-archive linking (` -Wl,--whole-archive ` )
7867 - Verifies ` -Wl,--whole-archive ` and ` -Wl,--no-whole-archive ` work
7968 - Tests unused library symbols are linked when using whole-archive
8069
81- 10 . ** ` preprocessor_defines_test ` ** - ` preprocessor_defines ` feature
70+ 8 . ** ` preprocessor_defines_test ` ** - ` preprocessor_defines ` feature
8271 - Injects defines via the ` local_defines ` attribute (routed through the
8372 ` preprocessor_defines ` feature), unlike ` defines_test ` which uses ` copts `
8473 (routed through ` user_compile_flags ` )
8574
86- 11 . ** ` include_dir_test ` ** - ` include_paths ` via the ` includes ` attribute
75+ 9 . ** ` include_dir_test ` ** - ` include_paths ` via the ` includes ` attribute
8776 - Includes a header exposed through a library's ` includes ` attribute,
8877 exercising the ` -I ` /` -isystem ` search paths
8978
90- 12 . ** ` user_link_flags_test ` ** - ` user_link_flags ` feature
79+ 10 . ** ` user_link_flags_test ` ** - ` user_link_flags ` feature
9180 - Passes a linker flag through ` linkopts ` (` -Wl,--defsym=... ` ) and checks the
9281 injected symbol's address at runtime
9382
94- 13 . ** ` random_seed_test ` ** - ` random_seed ` feature
83+ 11 . ** ` random_seed_test ` ** - ` random_seed ` feature
9584 - Build-and-run smoke test exercising internal-linkage symbols governed by
9685 the reproducible-build random seed
9786
98- 14 . ** ` fully_static_link_test ` ** - ` fully_static_link ` feature (` -static ` )
87+ 12 . ** ` fully_static_link_test ` ** - ` fully_static_link ` feature (` -static ` )
9988 - Verifies no shared objects are mapped at runtime (fully static binary)
10089 - Marked incompatible with toolchains lacking static system archives (AutoSD)
10190
@@ -286,16 +275,16 @@ when the host equals the target).
286275
287276### All tests on the host (` //... ` )
288277```
289- Executed 20 tests: 20 passed
278+ Executed 17 tests: 17 passed
290279```
291280
292281### Feature Verification Tests
293- - The ` feature_verification_tests ` suite aggregates 13 tests. ` warnings_test `
294- is defined separately and is picked up by wildcard targets such as
295- ` //feature_verification/... ` .
282+ - The ` feature_verification_tests ` suite aggregates 11 tests.
283+ ** Note: ** Warning-level tests ( ` warnings_test ` , ` warning_override_test ` ) have been migrated to
284+ [ ` score_cpp_policies ` ] ( https://github.com/eclipse-score/score_cpp_policies ) .
296285- Expected output for the suite:
297286 ```
298- Executed 13 tests: 13 passed
287+ Executed 11 tests: 11 passed
299288 ```
300289
301290### Language and Standards Tests
@@ -324,8 +313,6 @@ tests/
324313│ ├── user_link_flags_test.cpp
325314│ ├── random_seed_test.cpp
326315│ ├── fully_static_link_test.cpp
327- │ ├── warnings_test.cpp
328- │ ├── warning_override_test.cpp
329316│ ├── coverage_test.cpp
330317│ ├── pic_test_lib.h/cpp, pic_test.cpp
331318│ ├── multifile_lib.h and multifile_lib_*.cpp
0 commit comments