summaryrefslogtreecommitdiff
path: root/test/end-to-end
AgeCommit message (Collapse)Author
2025-03-10Add profiling test verifying the included execution timesKlaus Aehlig
2025-03-10Add basic test for profiling informationKlaus Aehlig
2025-03-10Add basic end-to-end test verifying invocation loggingKlaus Aehlig
2025-03-10remote test rules: support keeping directoriesKlaus Aehlig
2025-03-05end-to-end/just-mr: Add test to check special entries are correctly ignoredPaul Cristian Sarbu
...during setup of git roots, when the appropriate pragma is set. Check both symlinks and other special entries, e.g., submodules.
2025-03-05end-to-end tests: Fix small typos and inconsistenciesPaul Cristian Sarbu
2025-03-03Add regression test for just-import-gitKlaus Aehlig
... verifying that indiections are correctly taken into account.
2025-03-03prune bootstrap sourcesKlaus Aehlig
Originally, it was a good idea to add the full "bin" directory to the bootstrap sources; all scripts there where used in some form or another during bootstap and by taking the whole directory, we wouldn't have to update the target when adding new scripts. However, times have changed. The set of scripts neede for bootstrapping is stable for quite a while now; on the other hand actively-developped tools (like just-lock and just-import-git) now reside in "bin". So, to avoid unnecessary runs of the bootstrap tests, prune the dependency set. While there, also mark as tainted.
2025-02-28just-lock clone: Fix wrong order in resolving treesPaul Cristian Sarbu
Match correctly the behavior of just-mr, i.e., resolve the special entries of the relevant subtree of the original tree instead of taking the subtree of the resolved original tree. This also means that the clones of archives can directly stage the relevant subdir of the unpacked content and forward any 'special' pragma (same as for other cloned repository types).
2025-02-24end-to-end just-lock: Add basic test for generic importsPaul Cristian Sarbu
2025-02-20just-lock: Add test for cloning 'git tree' repositoriesPaul Cristian Sarbu
2025-02-20just-lock: Add test for cloning archive-related repositoriesPaul Cristian Sarbu
...such as 'archive', 'zip', 'foreign file', and 'distdir'.
2025-02-20just-lock: Add test for cloning 'git' repositoriesPaul Cristian Sarbu
2025-02-20just-lock: Add test for cloning 'file' repositoriesPaul Cristian Sarbu
2025-02-20just-lock: Support special pragma for plain importsPaul Cristian Sarbu
Marking a source repository 'as plain' means that the whole source repository tree will get imported as a repository type corresponding to the source type. In this case, additional pragmas than those supported by the inndividual imports might need to be set. Solve this by supporting the just-mr-style 'pragma' field also in the source description, for all sources also accepting the 'as plain' field. Currently support only the 'special' pragma. Document change and add test for plain imports that checks this feature.
2025-02-20just-lock: Improve handling of pragmas in 'repos' import descriptionPaul Cristian Sarbu
In particular, any transitive 'file'-type repository will inherit any given '{to_git: true}' pragma in the import description objects. Note that this technically can only happen for transitive 'file' repositories imported from a 'file' source, so in all other cases such a pragma would not have any effect. Document change and extend the import from 'file' source test to check this feature.
2025-02-20just-lock: Fix missing inherited pragmasPaul Cristian Sarbu
Transitive 'file'-type repositories should inherit any pragmas suported by the new repository type they are rewritten as. Extend import tests to avoid regressing on this issue in the future.
2025-02-14end-to-end: Add add-to-cas --resolve-special test...Paul Cristian Sarbu
...that checks if symlinks are treated the same as in just-mr.
2025-02-14end-to-end: Extend existing add-to-cas test...Paul Cristian Sarbu
...to check that --resolve-special option correctly stores entries.
2025-02-11Extend git-tree-env test to also verify "extra inherit env"Klaus Aehlig
... from the local file.
2025-02-11Extend git-environment test to verify "extra inherit env"Klaus Aehlig
... from the local file.
2025-02-05Add basic end-to-end test for just-mr gc --drop-onlyKlaus Aehlig
2025-01-30Add an end-to-end test for repeated repository garbage collectionKlaus Aehlig
As only a recent commit made it possible to rotate the repository cache more than once, add a test ensuring two properties. - Repeated repository gc is possible and roots are taken from the rotated generation. - It is possible to fully rotate a root out.
2025-01-29just-lock config: Make field names consistent with just-mrPaul Cristian Sarbu
2025-01-24Action equality test: only verify the set of originsKlaus Aehlig
While our tool promises to generate a reproducible order of the action origins, we should not insist on a particular one. Therefore sort before comparing.
2025-01-24Add test verifying the "generic" rule properly detecs staging conflictsKlaus Aehlig
2025-01-23Add basic end-to-end test on progress reportingKlaus Aehlig
2025-01-22Add test verifying git cas is taken into accountKlaus Aehlig
2025-01-22Add basic end-to-end test for absent computed rootsKlaus Aehlig
2025-01-21Test: Compute an absent tree structure of a local rootMaksim Denisov
2025-01-21Test: Compute an absent tree structure of an absent rootMaksim Denisov
2025-01-21Test: Compute a local tree structure based on an absent root.Maksim Denisov
2025-01-20just-lock: Add test for 'git-tree' source importPaul Cristian Sarbu
2025-01-15Enable a missing testMaksim Denisov
2025-01-14Fix typo in log messageKlaus Aehlig
2025-01-10just-lock: Add test for imports from archivesPaul Cristian Sarbu
2025-01-10just-lock tests: Give the local build root to the toolPaul Cristian Sarbu
This avoids the tool accidentally trying to touch the home folder via the default cache location. While there, ensure that errors in just-lock calls trigger test failures, as it should be.
2025-01-10just-lock tests: Fix small recurrent typoPaul Cristian Sarbu
2025-01-09just build: add new option -pKlaus Aehlig
... allowing to print the unique artifact built (if any). This allows convenient inspection of the build result of targets that define precisely one artifact.
2025-01-09Test deduplication of "tree structure" rootsMaksim Denisov
2025-01-09Test import of "tree structure" rootsMaksim Denisov
2025-01-08Test deduplication of target repos in precomputed rootsMaksim Denisov
2025-01-08Test indirection of workspace roots in precomputed rootsMaksim Denisov
2024-12-20JustMr: test tree structure rootsMaksim Denisov
2024-12-19Test basic implementation of TreeStructureRootsMaksim Denisov
2024-12-19Test just-mr properly updates config for computed rootsMaksim Denisov
2024-12-17just-lock: Add test for source 'file' importsPaul Cristian Sarbu
2024-12-12Regression test for build parameters in computed rootsKlaus Aehlig
It used to be the case, that the option -P was forwarded to the build of computed roots. Add a test verifying we're not regressing there again.
2024-12-11Add test verifying the upload of the log for failed root computationKlaus Aehlig
2024-12-11Add initial tests for just-lockPaul Cristian Sarbu