summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2024-12-19Test basic implementation of TreeStructureRootsMaksim Denisov
2024-12-19Test computation of TreeStructureMaksim Denisov
2024-12-19Test TreeStructureCacheMaksim Denisov
2024-12-19Fix cause of minor warningsOliver Reiche
2024-12-19Fix struct member initializationOliver Reiche
2024-12-19Remove unused headersOliver Reiche
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-09Move garbage_collector to a separate libraryMaksim Denisov
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-05execution api: support retrieving from more than one API, also for fdKlaus Aehlig
Extend the api to optionally accept a different API for preferred fetching. This is already supported when fetching to a file path; therefore, extend to keep the interface symmetric.
2024-12-04Adapt remote test check for actual root-level cache hitsKlaus Aehlig
2024-12-04Test deep rehashing from bazel to GitMaksim Denisov
Cover two cases: 1. The whole tree is present in the source storage; 2. Only the top-level tree is present in the source storage.
2024-12-04Test RehashDigestMaksim Denisov
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-11-14file_system: Implement IWYU suggestionsPaul Cristian Sarbu
2024-11-14clang-format: Update config filePaul Cristian Sarbu
The base style already handles correctly the system includes, so one needs to only add regex expressions to handle third-party and own includes. This fixes also the include formatting of git_config_run.test.cpp.
2024-10-25Add dependencies explicitly that are included directlyKlaus Aehlig
... instead of relying on those dependencies being pulled in indirectly.
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-25serve service: Respond also with digest in serve repository tree RPCsPaul Cristian Sarbu
...besides the simple Git hash, if syncing was done. This way one can know what digest to ask for from the remote. The serve client also needs to now know what hash function the remote expects. The serve service proto file is updated accordingly.
2024-10-25Test deep rehashing of Git trees to bazel DirectoriesMaksim Denisov
Co-authored-by: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com>
2024-10-25bazel_execution_client.test.cpp: add a comment to explain the meaning of the ↵Alberto Sartori
boolean "wait"
2024-10-23expressions: enforce strict arguments for "join" and "join_cmd"v1.4.0-alpha+20241023Klaus Aehlig
... as described in the documentation. It was never intended to have a single string being an argument for those.
2024-10-11Routinely run tests with compatible remote servicesKlaus Aehlig
2024-10-10third-party: update fmt, cli11, zlibKlaus Aehlig
Those are trivial dependency updates without the need to change the build description. The new versions now are - fmt 11.0.2 - cli11 2.4.2 - zlib 1.3.1
2024-10-08tests: use --dump-plain-graph to simplify equality checkKlaus Aehlig
2024-10-08Name local variables using lower_caseMaksim Denisov
...and private members using lower_case_
2024-10-08Name value template parameters using kCamelCase.Maksim Denisov
2024-10-08Name constexpr variables using kCamelCase.Maksim Denisov
2024-10-08Name static constants using kCamelCase.Maksim Denisov