refactor
This commit is contained in:
parent
5f925d3e71
commit
afeeb97f05
@ -228,11 +228,14 @@ TYPED_TEST(winfsp_test, run_winfsp_tests) {
|
|||||||
"--resilient",
|
"--resilient",
|
||||||
};
|
};
|
||||||
|
|
||||||
auto res = system((utils::path::combine(test::get_project_input_dir(),
|
auto test_exec = utils::path::combine(test::get_project_input_dir(),
|
||||||
{"bin", "winfsp-tests-x64.exe"}) +
|
{
|
||||||
' ' + utils::string::join(test_options, ' '))
|
"bin",
|
||||||
.c_str());
|
"winfsp-tests-x64.exe",
|
||||||
EXPECT_EQ(0, res);
|
}) +
|
||||||
|
' ' + utils::string::join(test_options, ' ');
|
||||||
|
|
||||||
|
EXPECT_EQ(0, system(test_exec.c_str()));
|
||||||
|
|
||||||
std::filesystem::current_path(cur);
|
std::filesystem::current_path(cur);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user