summaryrefslogtreecommitdiff
path: root/test/end-to-end
AgeCommit message (Collapse)Author
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
2024-12-10Add a test building against computed roots with absent base repositoryKlaus Aehlig
2024-12-10Add test for importing computed repositoriesPaul Cristian Sarbu
2024-12-10test git-imports: Remove duplicate entryPaul Cristian Sarbu
2024-12-09Add a test verifying that only artifacts are taken for computed rootsKlaus Aehlig
2024-12-09test serve_target_cache_hit: Remove wrong checkPaul Cristian Sarbu
One of the analysis commands marked as expected to fail fails from wrongly passing the launcher instead of the stated reasons. As the behaviour between standalone and separate serve endpoint versions would become inconsistent after fixing the command line, remove this check completely. This does not negatively influence the scope of the test script.
2024-12-06Log: report outputs of failed actions by defaultKlaus Aehlig
Some actions are allowed to fail, typically tests. By reporting the output of failed such actions early, the user can already have a look at those artifacts, typically a test log, while the build is still going on.
2024-12-05Add a test verifying that install-cas inspects the local casKlaus Aehlig
... even if remote-execution arguments are given. Also verify that failure is correctly reflected in the exit code.
2024-12-04Adapt remote test check for actual root-level cache hitsKlaus Aehlig
2024-12-03JustMR: test computed overlay reposMaksim Denisov
2024-12-02Add test verifying that computed-root build are sharded properlyKlaus Aehlig
2024-12-02["end-to-end", "with remote"]: support REMOTE_BINKlaus Aehlig
For tests where we bring our own remote-execution end point, support a directory where executables can be placed that are picked up early in PATH by remote actions. In this way, a test can be designed verifying that a particular action actually was run remotely.
2024-12-02Increase parallelism in just_mr_mpMaksim Denisov
2024-11-28Add basic test ensuring computed roots work for remote buildingKlaus Aehlig
While still doing some unnecessary file operations in the local build root, computed roots work also for remote execution, both in native and in compatible mode, also for roots with non-trivial depth. Add a basic test ensuring we do not regress there.
2024-11-28computed roots: add test verifying error reportingKlaus Aehlig
2024-11-27computed roots: enforce export targets of content-fixed reposKlaus Aehlig
... and look up values in cache, if possible.
2024-11-27JustMR: Test setup of computed rootsMaksim Denisov
2024-11-22AnalyseAndBuild: also write target-level cache entriesKlaus Aehlig
While there, also clean up the analysis result as soon as it is no longer needed.
2024-11-21Computed-roots evaluation: improve reportingKlaus Aehlig
For subcomputations add the log to CAS and only report the blob identifier. Also, indicate at the beginning, that computed roots are to be computed. While there, simplify code by using the ToString() method of computed roots.
2024-11-21Add basic test for computed rootsKlaus Aehlig
2024-11-14tests: Implement IWYU suggestionsMaksim Denisov
2024-10-25Enable compatible mode for just-mr and SourceTree serve service...Paul Cristian Sarbu
...by using the new local api that can handle any remote endpoint, irrespective of protocol. Also ensure all tests for the serve service are now being run both in native and compatible modes.
2024-10-11Routinely run tests with compatible remote servicesKlaus Aehlig
2024-10-08tests: use --dump-plain-graph to simplify equality checkKlaus Aehlig
2024-09-23Reorder dependencies and remove duplicates in OSSMaksim Denisov
2024-09-16test stage-links: Check also actions with non-contained symlinksPaul Cristian Sarbu
2024-08-29test just-mr: Add symlink cycle detection checks for repository rootsv1.4.0-alpha+20240829Paul Cristian Sarbu
2024-08-28Add basic sanity check on the default outputKlaus Aehlig
2024-08-26Add test to check that we ignore Git magic names in treesPaul Cristian Sarbu
2024-08-26install-cas --archive: Fix empty directories not added to archivePaul Cristian Sarbu
Also add empty directory in test script to ensure we don't regress in the future. While there, fix some typos.
2024-08-23test gc-repo: forward PATH in launcherKlaus Aehlig
... so that we can run with whatever ambient path is present rather than relying on standard paths pulled in by env.
2024-08-21tests: use newly defined test suiteKlaus Aehlig
... so that linting information gets propagated properly.
2024-08-06analyse: extend provides map when switching to action inputKlaus Aehlig
When switching from a target to the artifacts that are the inputs of a particular action, the provides map is also switched to provide additional (besides the inputs) information about the action, in particular the command. Extend this provides map with the remaining information, in particular the working directory.
2024-08-02End-to-end test: verify unrelated cwdKlaus Aehlig
... also ensuring that the implict empty tree is added as input.
2024-08-02Add end-to-end test verifying that cwd is handled correctlyKlaus Aehlig
2024-07-24Extend gc-repo test to also verify that git-tree repositories are taken from ↵Klaus Aehlig
older generations
2024-07-23Extend gc-repo test to also verify foreign files are taken from old generationsKlaus Aehlig
2024-07-19Extend gc-repo test to also verify archives are taken from old generationKlaus Aehlig
2024-07-19Add test verifying that git repos of the old generation are usedKlaus Aehlig
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-07-12Make end-to-end tests independent of the user's rc fileKlaus Aehlig
Our end-to-end tests involve calling just-mr. When run locally, in order to make then self-contained we need to make sure this test call to just-mr does not pick up the user's .just-mrrc that might contain different setting not overridden at the command line.
2024-07-12Internal test rules: only use in summary action what is necessaryKlaus Aehlig
2024-07-12Internal test rules with infastructure: also record pwdKlaus Aehlig
2024-07-11Add test to check correct target-cache shardingPaul Cristian Sarbu
...between local, remote, and served builds.