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