diff options
Diffstat (limited to 'test/buildtool/execution_api/bazel')
-rw-r--r-- | test/buildtool/execution_api/bazel/bazel_api.test.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/buildtool/execution_api/bazel/bazel_api.test.cpp b/test/buildtool/execution_api/bazel/bazel_api.test.cpp index bc147ef5..bfe32f83 100644 --- a/test/buildtool/execution_api/bazel/bazel_api.test.cpp +++ b/test/buildtool/execution_api/bazel/bazel_api.test.cpp @@ -225,3 +225,20 @@ TEST_CASE("BazelAPI: Collect file and directory symlinks", "[execution_api]") { storage_config.Get().CreateTypedTmpDir("test_space")}; TestSymlinkCollection(api_factory, remote_config->platform_properties); } + +TEST_CASE("BazelAPI: Run in different output path modes", "[execution_api]") { + auto storage_config = TestStorageConfig::Create(); + auto remote_config = TestRemoteConfig::ReadFromEnvironment(); + + REQUIRE(remote_config); + REQUIRE(remote_config->remote_address); + auto auth = TestAuthConfig::ReadFromEnvironment(); + REQUIRE(auth); + + FactoryApi api_factory{ + &*remote_config->remote_address, + &*auth, + storage_config.Get().hash_function, + storage_config.Get().CreateTypedTmpDir("test_space")}; + TestOutputPathModes(api_factory, remote_config->platform_properties); +} |