Tests and documentation update - #97
Merged
Merged
Conversation
Add missing headers from standard library which are missing. Without explicit inclusion of these headers some toolchain implementation could have issues.
nradakovic
requested review from
AlexanderLanin,
antonkri and
dcalavrezo-qorix
as code owners
July 8, 2026 08:17
Contributor
There was a problem hiding this comment.
Pull request overview
Update to the test suite documentation and minor test/build adjustments to align with the x86_64-linux Bazel configuration and improve standards conformance in the language tests.
Changes:
- Update multiple READMEs/docs to reference
--config x86_64-linuxfor running the test suite. - Add missing standard library includes in C++ language/standards tests.
- Force the C language test to compile as C99 via
copts = ["-std=c99"].
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 15 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/README.md | Updates example Bazel invocations for the tests workspace. |
| tests/language_and_standards/README.md | Updates quick-start commands for language/standard tests. |
| tests/language_and_standards/cpp20_test.cpp | Adds missing C++20 test includes. |
| tests/language_and_standards/cpp17_test.cpp | Adds missing C++17 test includes. |
| tests/language_and_standards/cpp14_test.cpp | Adds missing C++14 test includes. |
| tests/language_and_standards/cpp11_test.cpp | Adds missing C++11 test includes. |
| tests/language_and_standards/BUILD | Enforces C99 mode for the C language test. |
| tests/feature_verification/README.md | Updates quick-start commands for feature verification tests. |
| examples/README.md | Updates test-running documentation now that tests live under tests/. |
| docs/test_suite.md | Updates comprehensive test suite documentation commands. |
| docs/maintenance.md | Updates example validation invocation to use x86_64-linux. |
| docs/examples_and_validation.md | Updates example validation invocation to use x86_64-linux. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+13
to
+17
| # Run individual test | ||
| bazel test --config host_config_1 //tests/language_and_standards:cpp20_test | ||
| bazel test --config=x86_64-linux //tests/language_and_standards:cpp20_test | ||
|
|
||
| # Run with verbose output | ||
| bazel test --config host_config_1 --test_output=all //tests/language_and_standards:cpp20_test | ||
| bazel test --config=x86_64-linux --test_output=all //tests/language_and_standards:cpp20_test |
Comment on lines
13
to
17
| # Run individual test | ||
| bazel test --config host_config_1 //tests/feature_verification:defines_test | ||
| bazel test --config x86_64-linux //tests/feature_verification:defines_test | ||
|
|
||
| # Build for cross-compilation (no execution) | ||
| bazel build --config target_config_1 //tests/feature_verification:defines_test |
nradakovic
force-pushed
the
nira_tests_and_docs_cleanup
branch
from
July 8, 2026 08:35
064f546 to
dc24fe1
Compare
Comment on lines
+14
to
+17
| bazel test --config=x86_64-linux //:language_and_standards:cpp20_test | ||
|
|
||
| # Run with verbose output | ||
| bazel test --config host_config_1 --test_output=all //tests/language_and_standards:cpp20_test | ||
| bazel test --config=x86_64-linux --test_output=all //:language_and_standards:cpp20_test |
Comment on lines
54
to
58
| ```bash | ||
| cd examples | ||
| ./test.sh --list | ||
| ./test.sh host_config_1 | ||
| ./test.sh x86_64-linux | ||
| ./test.sh --keep-going |
Comment on lines
69
to
73
| ```bash | ||
| cd examples | ||
| ./test.sh --list | ||
| ./test.sh host_config_1 | ||
| ./test.sh x86_64-linux | ||
| ./test.sh --keep-going |
nradakovic
force-pushed
the
nira_tests_and_docs_cleanup
branch
from
July 8, 2026 08:50
dc24fe1 to
6852481
Compare
Comment on lines
70
to
73
| cd examples | ||
| ./test.sh --list | ||
| ./test.sh host_config_1 | ||
| ./test.sh x86_64-linux | ||
| ./test.sh --keep-going |
nradakovic
force-pushed
the
nira_tests_and_docs_cleanup
branch
from
July 8, 2026 09:07
6852481 to
521ca0e
Compare
Update documentation to reflect the latest status of test targets.
nradakovic
force-pushed
the
nira_tests_and_docs_cleanup
branch
from
July 8, 2026 09:49
521ca0e to
664c0e3
Compare
antonkri
approved these changes
Jul 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update of test code and documentation.