summaryrefslogtreecommitdiff
path: root/test/end-to-end/gc
AgeCommit message (Collapse)Author
2025-06-12Test compactification gets skipped for `gc --all`Maksim Denisov
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-17Test ["end-to-end/gc", "reconstruct-executable"]: drop unnecessary restrictionKlaus Aehlig
This test verifies properties of just, hence the precise nature of the just-mr tool does not matter.
2024-07-16Add a test verifying that reconstructed executables are usableKlaus Aehlig
... ensuring we do not regress on the recently fixed race that allowed file descriptors to reconstructed executables to be kept alive.
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-17Compactification: Test storage get reducedMaksim Denisov
... and nothing reconstructed for simple (i.e., non-export) targets.
2024-03-11Extend gc end-to-end test to cover --no-rotateKlaus Aehlig
... verifying that - emphemeral directories are removed, - left-over remove-me directories are removed, and - the available content of CAS and cache are not affected.
2024-02-05end-to-end tests: inherit pathKlaus T. Aehlig
... for test actions, by setting an appropriate local launcher. In this way, the tests can also be run on systems where sh does not pull in enough paths to have all the "usual" tools available.
2024-01-16Add a test verifying the interaction between tc and gcKlaus Aehlig
Add a test that verifies that garbage collection does not violate the invariants required by the extensional project implicit in target-level caching.
2023-11-22Test ["end-to-end/gc", "export"]: fix workspace layoutKlaus Aehlig
This end-to-end test, of course, depends on the tools, provided inside the test's working directory. The test, being end to end, constructs a workspace with multi-repository configuration with the main repo a file repsoitory at the root of the constructed work space; to be able to test exporting this repository has pragma "to_git". Move the constructed work space to sub directory to not include the tools to be tested in the work space that is gitified; one the one hand, the tested tools should not be part of the test workspace and on the other hand, this shaves off a large fraction of the test's run time.
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-09end-to-end tests: be independent of the user's home directoryKlaus Aehlig
... and, in particular, do not read any rc files for just-mr the user might have.
2023-03-13Test: Add GC test for export targetsOliver Reiche
2023-03-13Test: Extend basic GC test by link count checkOliver Reiche
2023-03-13Test: Extend basic GC test for compatibleOliver Reiche
2023-01-20Add basic end-to-end test for just gcKlaus Aehlig
Run build and garbage collection end to end and verify two basic properties. - A target used after the the last gc is still available after another gc, and so are all its parts, even if the output is a single tree. - A target not used between to gc is purged from disk and disk space is not used any more.