summaryrefslogtreecommitdiff
path: root/tests/test_cases
AgeCommit message (Collapse)Author
2025-04-23rules-cc tests: Update DEBUG config variable to mapPaul Cristian Sarbu
In preparation for the rule changes, to avoid introducing false positives during future bisections.
2024-12-12tests: define test cases for ["CC/auto","config_file"] ruleAlberto Sartori
The unit tests for runner can be run via the ["test_cases/config", "pytest"] target, which requires `pytest` and `hypothesis`.
2024-09-10Add test verifying dependency chainsSascha 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-23Add test verifying lint information is propagated properlyKlaus Aehlig
... through all our various rules and forms of libraries.
2024-08-23transitive-component test: really use a main depending on a shared libraryKlaus Aehlig
... by fixing a copy&paste error in the TARGETS file of the example.
2024-08-09Add a test for components having componentsKlaus Aehlig
2024-08-09components: add test on dependenciesKlaus 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-25Add a test for the use of the "components" field of a libraryKlaus Aehlig
2024-07-25Adapt object-library test to the removal of object librariesKlaus Aehlig
... in a5a98b35fc9a710e723673946ea5c769274b9ddb. Instead, use a "configure" target to configure the library as being an object library.
2024-06-04rules-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-22Add test for creating shared lib from object libOliver Reiche
2024-05-03Add tests for object_only libraryOliver Reiche
2023-11-20tests: No need to copy zlib librariesOliver Reiche
2023-05-31Add testcase for cmake dependenciesSascha Roloff
2023-05-31Update rule test cases to changed pkg-config file locationSascha Roloff
2023-01-26Test creating libraries from CMake projectOliver Reiche
2023-01-20Test pkg-config support for prebuilt librariesOliver Reiche
2023-01-20Test initial prebuilt library supportOliver Reiche
2023-01-10tests: Test support for pkg-configOliver Reiche
2023-01-10tests: Test rule "install-with-deps"Oliver Reiche
2022-12-16tests: Add support for shared librariesOliver Reiche
2022-12-12Add tests and readmeOliver Reiche