summaryrefslogtreecommitdiff
path: root/test/TARGETS
AgeCommit message (Collapse)Author
2025-05-13Top-level test target: support test matrixKlaus Aehlig
By supporting test matrix top-level of our test, which affects both the ALL and the UNIT_TESTS target, it is easy to run all tests for different tool chains, flags, or CC_TEST_LAUNCHER values.
2025-05-12Tests: Enable compatible for normal CC testsOliver Reiche
2025-05-07tests: add a target to run precisely the unit testsKlaus Aehlig
While there, also make sure we run unit tests that honor TEST_COMPATIBLE_REMOTE in both configurations.
2025-05-06["@", "just tests", "", "ALL"]: remove unused parameter TEST_BOOTSTRAP_JUST_MRKlaus Aehlig
As a configure target, it is supposed to describe the change in the configuration; setting a parameter to itself has no effect.
2024-09-23Reorder dependencies and remove duplicates in OSSMaksim Denisov
2024-08-21tests: use newly defined test suiteKlaus Aehlig
... so that linting information gets propagated properly.
2024-07-16Set compatibility in testsMaksim Denisov
2024-06-03test: Use own installed just and just-mr targets...Paul Cristian Sarbu
...which do not stage also the debug source and header files (while in debug mode), as this is unnecessary bloat in the tests. As the tool-under-test and mr-tool-under-test targets should be used instead of the regular install targets also in the various extra rules in end-to-end and utils, move their definition in the outmost test TARGETS file.
2024-04-29test: Actually scale TIMEOUT_SCALE value for long-running tests...Paul Cristian Sarbu
...instead of using absolute values. This was the desidered outcome all along and now it can be done right thanks to the recently added multiplication expression.
2024-04-15Initialize file chunker in catch-mainMaksim Denisov
2024-03-12catch2 main: ensure proper build rootKlaus Aehlig
Some of our C-tests under catch2 may rely on the local build root to get a proper tmp directory; ensure this is set properly to avoid falling back to the user's home directory.
2023-08-16Introduce configuration variable TOOLCHAIN_CONFIGOliver Reiche
... to pass along toolchain settings for current and future toolchain definitions. Configuration variable COMPILER_FAMILY is replaced by TOOLCHAIN_CONFIG["FAMILY"].
2023-07-11bootstrap-test: Increase the timeout scalePaul Cristian Sarbu
When running on a busy machine, bootstrap tests can sometimes surpass the current timeout.
2023-05-31Make test ["", "ALL"] really contain all testsKlaus Aehlig
... but keep the option to not run the large tests.
2023-05-24Split off tests into a separate logical repositoryKlaus Aehlig
This allows better separation and, in particular, repositories needed only for tests do not have to be provided for building the tools. This also better documents which dependencies are only needed for testing.
2023-05-15memcheck: fix race in libgit2...Paul Cristian Sarbu
...caused by incorrectly setting and resetting the library internal state and the misuse of pthreads in libgit2. Normally, git_libgit2_init and git_libgit2_shutdown should span the life of a worker thread in order to be safely used. However, due to an incorrect implementation of libgit2's threadstate with pthreads, on unix systems there is a race condition. Until the use of pthread_key_t is corrected in libgit2, we need to apply a workaround by always ensuring that the main thread is the first thread reaching the GitContext constructor.
2023-01-10Tests: Add TEST_BOOTSTRAP_JUST_MR config var to decide which just-mr is used ↵Paul Cristian Sarbu
in the end-to-end tests
2022-12-21Test: Add tests for critical git opsPaul Cristian Sarbu
2022-10-10Replace CC/configure rule by builtin configureOliver Reiche
2022-09-13Just: Set default TARGET_ARCH and COMPILER_FAMILYOliver Reiche
2022-07-25Move bootstrap tests to their own directoryKlaus Aehlig
2022-06-23Add new distdir repo bootstrap testPaul Cristian Sarbu
2022-02-23Add a first end-to-end test for action equalityKlaus Aehlig
This test also demonstrates the notion of equality used in our action graph: actions are considered equal, if they are defined in the same way (regardless of where they are defined); when looking up actions in cache, however, the inputs are considered extensionally. The test also verifies that if one dumps the action graph, the origins of an action (as the same action can be defined in many places) are reported correctly.
2022-02-22Initial self-hosting commitKlaus Aehlig
This is the initial version of our tool that is able to build itself. In can be bootstrapped by ./bin/bootstrap.py Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com> Co-authored-by: Victor Moreno <victor.moreno1@huawei.com>