Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-04-23 | rules-cc tests: Update DEBUG config variable to map | Paul Cristian Sarbu | |
In preparation for the rule changes, to avoid introducing false positives during future bisections. | |||
2024-12-12 | tests: define test cases for ["CC/auto","config_file"] rule | Alberto Sartori | |
The unit tests for runner can be run via the ["test_cases/config", "pytest"] target, which requires `pytest` and `hypothesis`. | |||
2024-09-10 | Add test verifying dependency chains | Sascha Roloff | |
Shared libraries require their (direct and indirect) dependencies to be built in a position independent way. This might cause such a dependent library to be built twice. As, however, shared libraries need not forward their static dependencies this does not cause staging conflicts. Verify that this is also the case for distant indirect dependencies. Co-authored-by: Klaus Aehlig <klaus.aehlig@huawei.com> | |||
2024-08-23 | Add test verifying lint information is propagated properly | Klaus Aehlig | |
... through all our various rules and forms of libraries. | |||
2024-08-23 | transitive-component test: really use a main depending on a shared library | Klaus Aehlig | |
... by fixing a copy&paste error in the TARGETS file of the example. | |||
2024-08-09 | Add a test for components having components | Klaus Aehlig | |
2024-08-09 | components: add test on dependencies | Klaus Aehlig | |
Components themselves can have public dependencies; those need to be available (as compile deps) for the combined library. Verify this by extending the test such that the public dependency is actually used in the header file. While there, also increase coverage by assertions. | |||
2024-07-25 | Add a test for the use of the "components" field of a library | Klaus Aehlig | |
2024-07-25 | Adapt object-library test to the removal of object libraries | Klaus Aehlig | |
... in a5a98b35fc9a710e723673946ea5c769274b9ddb. Instead, use a "configure" target to configure the library as being an object library. | |||
2024-06-20 | rules-cc/tests/test_rules/RULES: add TOOLCHAIN_CONFIG config var... | Alberto Sartori | |
...to pass required variables belonging to the current rules under testing | |||
2024-06-04 | ["test_rules", "test_case"]: add config vars to be propagated to the runner | Alberto Sartori | |
The config vars ENV, ARCH, HOST_ARCH, TARGET_ARCH, BUILD_ARCH, OS have been added. This allows to test the rules with different configurations and/or set required values via the "defaults" target of the rules under testing. | |||
2024-06-04 | rules-cc: Add regression tests for install-with-deps rule... | Paul Cristian Sarbu | |
...in both release and debug modes. Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com> | |||
2024-05-22 | Add test for creating shared lib from object lib | Oliver Reiche | |
2024-05-03 | Add tests for object_only library | Oliver Reiche | |
2023-11-20 | tests: No need to copy zlib libraries | Oliver Reiche | |
2023-08-29 | python: Add type hints and fix style in rules-cc scripts | Paul Cristian Sarbu | |
For maximum compatibility, we use the uppercase types from the typing package instead of the built-in types, therefore compliant with PEP 484 and PEP 526. | |||
2023-05-31 | Add testcase for cmake dependencies | Sascha Roloff | |
2023-05-31 | Update rule test cases to changed pkg-config file location | Sascha Roloff | |
2023-01-26 | Test creating libraries from CMake project | Oliver Reiche | |
2023-01-20 | Test pkg-config support for prebuilt libraries | Oliver Reiche | |
2023-01-20 | Test initial prebuilt library support | Oliver Reiche | |
2023-01-10 | tests: Test support for pkg-config | Oliver Reiche | |
2023-01-10 | tests: Test rule "install-with-deps" | Oliver Reiche | |
2022-12-16 | tests: Add support for shared libraries | Oliver Reiche | |
2022-12-12 | Add tests and readme | Oliver Reiche | |