Skip to content

Tests and documentation update - #97

Merged
nradakovic merged 2 commits into
mainfrom
nira_tests_and_docs_cleanup
Jul 8, 2026
Merged

Tests and documentation update#97
nradakovic merged 2 commits into
mainfrom
nira_tests_and_docs_cleanup

Conversation

@nradakovic

Copy link
Copy Markdown
Member

Update of test code and documentation.

Add missing headers from standard library which are missing.
Without explicit inclusion of these headers some toolchain
implementation could have issues.
@nradakovic
nradakovic requested a review from Copilot July 8, 2026 08:17
@nradakovic nradakovic self-assigned this Jul 8, 2026
@nradakovic nradakovic added bug Something isn't working documentation Improvements or additions to documentation unit test Add or update unit tests p2 Medium/High - key service impacted - needing rapid resolution labels Jul 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-linux for 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 thread tests/README.md Outdated
Comment thread tests/language_and_standards/README.md Outdated
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 thread tests/feature_verification/README.md Outdated
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
Comment thread examples/README.md Outdated
Comment thread docs/test_suite.md Outdated
Comment thread docs/test_suite.md Outdated
Comment thread examples/README.md
Comment thread examples/README.md
Comment thread docs/test_suite.md
Comment thread docs/test_suite.md

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated 7 comments.

Comment thread tests/language_and_standards/README.md Outdated
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 thread docs/test_suite.md Outdated
Comment thread docs/test_suite.md Outdated
Comment thread docs/test_suite.md Outdated
Comment thread docs/test_suite.md Outdated
Comment thread docs/maintenance.md Outdated
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 thread docs/examples_and_validation.md Outdated
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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Comment thread docs/examples_and_validation.md Outdated
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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 3 comments.

Comment thread docs/repository_layout.md
Comment thread docs/test_suite.md Outdated
Comment thread examples/README.md
Update documentation to reflect the latest status of test targets.
@nradakovic
nradakovic force-pushed the nira_tests_and_docs_cleanup branch from 521ca0e to 664c0e3 Compare July 8, 2026 09:49
@nradakovic
nradakovic merged commit 73728e2 into main Jul 8, 2026
12 checks passed
@nradakovic
nradakovic deleted the nira_tests_and_docs_cleanup branch July 8, 2026 09:55
@github-project-automation github-project-automation Bot moved this from In Progress to Done in INF - Infrastructure Community Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation p2 Medium/High - key service impacted - needing rapid resolution unit test Add or update unit tests

Projects

Development

Successfully merging this pull request may close these issues.

3 participants