Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-08-08 | Add a test verifying the overwrite property of install and install-cas | Klaus Aehlig | |
Verify that install and install-cas do not overwrite and instead replace existing files. This behaviour is less surprising for the user in the presence of hard links. | |||
2023-08-07 | test: Add checks for 'special' pragma in just-mr | Paul Cristian Sarbu | |
Checks that the new 'special' pragma works for all supported repository types. In particular, checks that symlinks get resolved as expected and that resolved trees add their unresolved counterparts to the CAS for 'file' and 'archive' type repositories. Splits install-roots test into a basic check which works with the bootstrappable just-mr, and a new check focusing on the newly introduced 'special' pragma. | |||
2023-08-07 | test: Add check for reading objects by path from a Git tree | Paul Cristian Sarbu | |
2023-08-07 | utils: Add function to check for confined paths | Paul Cristian Sarbu | |
2023-08-07 | just-mr: Set ignore-special roots via a pragma... | Paul Cristian Sarbu | |
...instead of a regular field. Also removes the ignore-special logic from distdir repositories, as those will never contain symlinks, so no entries would be ignored. | |||
2023-08-07 | test: Fix typo in script generating test_repo_symlinks bundle | Paul Cristian Sarbu | |
2023-07-27 | install-cas test: also verify the -P option | Klaus Aehlig | |
2023-07-27 | Execution API: support fetching a single artifact to memory | Klaus Aehlig | |
2023-07-27 | link install-cas test to test suite | Klaus Aehlig | |
While there, fix a typo in the setup. | |||
2023-07-26 | Add basic test for install-cas | Klaus Aehlig | |
... verifying the consistency of the representation of trees between local and remote CAS. | |||
2023-07-25 | test_server: avoid races | Klaus Aehlig | |
... by creating a file only once the server is ready and waiting for that file instead of waiting a fixed period of time. | |||
2023-07-21 | bugfix: stage symlinks as symlinks when creating an action directory | Alberto Sartori | |
Before this patch, when creating an action directory, symlinks were staged as regular files. | |||
2023-07-11 | filesystem: Avoid unwanted indirections... | Paul Cristian Sarbu | |
...that std::filesystem::* calls produce. This is because existence and type checks use almost exclusively std::filesystem::status, which follows symbolic links, when being called with path arguments. Instead, one should instead use these methods with the value returned by a call of std::filesystem::symlink_status. This commit also streamlines the FileSystemManager tests, as well as replace bare calls to std::filesystem with their FileSystemManager counterparts (where suitable). | |||
2023-07-11 | test: Extend coverage for symlinks and ignore_special roots | Paul Cristian Sarbu | |
2023-07-11 | bootstrap-test: Increase the timeout scale | Paul Cristian Sarbu | |
When running on a busy machine, bootstrap tests can sometimes surpass the current timeout. | |||
2023-07-10 | test: Extend cas-independent check with .gitignore file | Paul Cristian Sarbu | |
2023-07-10 | FileSystemManager: Add recursive directory entries reader... | Paul Cristian Sarbu | |
...allowing the skipping of certain subtrees if needed. This is useful, e.g., in simulating what a 'git add' call would do, which ignores all '.git' subdirectories. Also adds a corresponding test for the new method. | |||
2023-07-05 | Test dispatch functionality of just | Klaus Aehlig | |
2023-07-05 | ["@", "test", "end-to-end", "with remote"] rule: fix documentation | Klaus Aehlig | |
Besides stdout and stderr of the test, the output of the remote-execution server are also artifacts of that rule. | |||
2023-07-05 | ["end-to-end/target-cache", "artifacts-sync"]: add more checks... | Alberto Sartori | |
...that the expected objects are correctly uploaded to the remote cas | |||
2023-07-03 | Simplify artifacts-sync end-to-end test | Sascha Roloff | |
2023-06-26 | tests: Extend executor with symlink artifacts | Paul Cristian Sarbu | |
2023-06-26 | tests: Add API checks for uploading non-upwards symlinks | Paul Cristian Sarbu | |
2023-06-26 | Execution response: Add output symlink paths | Paul Cristian Sarbu | |
2023-06-26 | bazel_msg_factory: Allow non-upwards symlinks in uploaded trees | Paul Cristian Sarbu | |
2023-06-26 | Add non-upwards symlinks in the rule language... | Paul Cristian Sarbu | |
via a 'SYMLINK' constructor function. This works similarly to the 'FILE' construct, but the name given must point to a non-upwards symlink and a symlink artifact is being generated from it. Also updates the relevant tests. | |||
2023-06-26 | FileRoot: Add handling of non-upwards symlink... | Paul Cristian Sarbu | |
...and update tests accordingly. | |||
2023-06-26 | ReadTree: Add check for non-upwards symlinks... | Paul Cristian Sarbu | |
...as early as possible. This ensures that callers always receive only the tree entries for the supported object types. For the symlinks non-upwardness check we pass a lambda capturing the real backend of the tree entries, such that the symlinks can be read. Updates git_tree tests accordingly. | |||
2023-06-26 | tests: Extend artifact description test with non-upwards symlink example | Paul Cristian Sarbu | |
2023-06-26 | filesystem: Add logic for handling (non-upwards) symlinks | Paul Cristian Sarbu | |
2023-06-22 | Extend action-equality-properties test to also test the generic rule | Klaus Aehlig | |
2023-06-22 | Extend action-equality-timeout test to also test the generic rule | Klaus Aehlig | |
2023-06-20 | tests: Add tar.xz and compression auto detect | Oliver Reiche | |
2023-06-15 | Add basic test for properties as part of action equality | Klaus Aehlig | |
2023-06-06 | style: Use designated initializers | Paul Cristian Sarbu | |
This feature has been introduced with C++20. | |||
2023-06-05 | Add a test verifying that no working directory is needed | Klaus Aehlig | |
2023-05-31 | test: Extend filesystem tests to git repos with symlinks... | Paul Cristian Sarbu | |
...using the new ignore-special tree variant. | |||
2023-05-31 | test: Streamline filesystem git test repo... | Paul Cristian Sarbu | |
...by removing unused subfolders and corresponding redundant checks in the tests using it. Also fixes misues in tests of the GetSubtree family of methods. | |||
2023-05-31 | FileRoot: Add ignore-special roots logic | Paul Cristian Sarbu | |
2023-05-31 | Make test ["", "ALL"] really contain all tests | Klaus Aehlig | |
... but keep the option to not run the large tests. | |||
2023-05-31 | Add basic test that the timeout is taken into account for action equality | Klaus Aehlig | |
2023-05-30 | tests: Support toolchain in remote rule | Oliver Reiche | |
2023-05-30 | tests: Used installed just/just-mr in remote tests | Oliver Reiche | |
... as those binaries might need run-libs. | |||
2023-05-30 | tests: Support run deps for tools-under-test | Oliver Reiche | |
2023-05-30 | tests: Use run_test expression in remote rule | Oliver Reiche | |
2023-05-24 | Split off tests into a separate logical repository | Klaus 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-15 | memcheck: 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-05-09 | end-to-end tests: be independent of the user's home directory | Klaus Aehlig | |
... and, in particular, do not read any rc files for just-mr the user might have. | |||
2023-05-09 | test: Do not rely on shell built-in behavior | Oliver Reiche | |
... in particular echo(1), which behaves different on dash and sh. | |||
2023-04-28 | external: Update google_apis to 2f9af29... | Paul Cristian Sarbu | |
...as required by grpc v1.53.0 |