File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
conformance_tests/tools/metrics/src Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2167,7 +2167,10 @@ LZT_TEST(
2167
2167
fs::path helper_path (fs::current_path () / " metrics" );
2168
2168
std::vector<fs::path> paths;
2169
2169
paths.push_back (helper_path);
2170
+ paths.push_back (fs::current_path ());
2170
2171
fs::path helper = bp::search_path (" test_metric_helper" , paths);
2172
+ ASSERT_FALSE (helper.empty ())
2173
+ << " Could not find test_metric_helper in current or ./metrics/ directory" ;
2171
2174
bp::child metric_helper (helper);
2172
2175
2173
2176
// start monitor
@@ -2251,7 +2254,11 @@ LZT_TEST(
2251
2254
fs::path helper_path (fs::current_path () / " metrics" );
2252
2255
std::vector<fs::path> paths;
2253
2256
paths.push_back (helper_path);
2257
+ paths.push_back (fs::current_path ());
2254
2258
fs::path helper = bp::search_path (" test_metric_helper" , paths);
2259
+ ASSERT_FALSE (helper.empty ())
2260
+ << " Could not find test_metric_helper in current or ./metrics/ directory" ;
2261
+
2255
2262
bp::opstream child_input;
2256
2263
bp::child metric_helper (helper, " -i" , bp::std_in < child_input);
2257
2264
You can’t perform that action at this time.
0 commit comments