This commit is contained in:
Scott E. Graves 2024-10-24 08:10:46 -05:00
parent 5f925d3e71
commit afeeb97f05

View File

@ -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);
} }