Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-07-14 | ["shell/test", "script"]: support target architecture | Klaus Aehlig | |
... provided it is specified on how to obtain a remote-execution endpoint for the given architecture; in this case, the test (script and) dependencies will be cross compiled for and run on that architecture. The actual building (as well as summarizing multiple test runs) happens on the default execution end point. | |||
2023-05-31 | ["test/shell", "script"] Support long-running tests | Klaus Aehlig | |
2022-12-09 | rules: Add cross-compile support for tests | Oliver Reiche | |
2022-12-09 | rules: Refactoring and minor improvements | Oliver Reiche | |
Compared to the previous commit, the action graphs for just and its unit tests are unchanged. - Git hash of action graph for ["",""]: c6e75f17abd7ffaab6ff9bb725ad67ec0bf6c973 - Git hash of action graph for ["test/buildtool","TESTS"]: 8063dfb3dd7daa9ae01d95c177e14946f785c57e Refactor: - "local cflags" to "private-cflags" - "local defines" to "private-defines" - "link externals" to "private-ldflags" - "deps" to "private-deps" for (test) binaries - "proto" to "private-proto" for binaries Improvements: - consistent variable declaration order: OS, ARCH, HOST_ARCH, TARGET_ARCH, CC, CXX, CFLAGS, CXXFLAGS, ADD_CFLAGS, ADD_CXXFLAGS, AR, ENV, PATH - use fields close to their definition (in RULES) - use common expression for binaries and test binaries - split expression "flags" and "compiler" ... to separate ones for CC and CXX. - rename "transition" to "deps-transition" ... to avoid conflicts with other transitions. - support "defaults-transition" for CC expressions Implement: - "cflags" for libraries - "private-cflags" for (test) binaries - "private-defines" for test binaries - "private-ldflags" for test binaries - (public) "defines" for libraries | |||
2022-10-10 | rules: Use new 'env' expression | Oliver Reiche | |
2022-06-07 | rules: Support TEST_ENV for shell/test script | Oliver Reiche | |
2022-04-26 | rules: Add field_artifacts_list and field_runfiles_list | Oliver Reiche | |
... which are more efficient if the caller wants to perform the union manually (because disjointness should be enforced or additional maps should be added to the union, etc.). As a positive side effect, code reuse is slightly increased by consistently calling these newly introduced expressions for obtaining the artifacts/runfiles from all targets of a target field. | |||
2022-03-02 | Extend shell-test rules to optionally detect flakyness | Klaus Aehlig | |
2022-02-23 | Add shell/test rule | Klaus Aehlig | |
... allowing to run simple tests given by a shell script. |