az/test: skip ut if no env vars found
This commit is contained in:
parent
2390532bb0
commit
6dbee3d08b
|
@ -86,6 +86,11 @@ TEST(AzTest, InterfaceTest) {
|
|||
bool withcp = false;
|
||||
|
||||
code = azInitEnv();
|
||||
if (code) {
|
||||
std::cout << "ablob env init failed with: " << code << std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
GTEST_ASSERT_EQ(code, 0);
|
||||
GTEST_ASSERT_EQ(tsS3Enabled, 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue