File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # AGENTS.md
2+
3+ ## Testing
4+
5+ To test this rules there are real tests - those can be executed via:
6+
7+ ` cd tests && bazel test --config=gcc13 //... `
8+
9+ Note the Bazel config depends on the use operating system and compiler setup.
10+ Use ` --config=gcc13 ` for Ubuntu 24.04 and GCC13,
11+ use ` --config=vs2022 ` for Windows and Visual Studio 2022,
12+ and use ` --config=macos ` for macOS and Apple Clang.
13+
14+ Besies real test, there a also some test project located in the tests folder.
15+
16+ A minimal criteria for change and modification to this codebase is to ensure that
17+ the project in the tests folder can be build without any problems, i.e.:
18+
19+
20+ ``` shell
21+ bazel build --config=gcc13 //hello_world:hello_world
22+ bazel build --config=gcc13 //horch:main
23+ bazel build --config=gcc13 //moc_test:main
24+ bazel build --config=gcc13 //qml_demo:qt_demo
25+ bazel build --config=gcc13 //uic_demo:main
26+ ```
27+
28+ You should also be able to run this binary:
29+
30+ ``` shell
31+ bazel run --config=gcc13 //moc_test:main
32+ ```
You can’t perform that action at this time.
0 commit comments