Searched refs:test_paths (Results 1 - 4 of 4) sorted by relevance

/fuchsia/zircon/system/ulib/runtests-utils/include/runtests-utils/
H A Druntests-utils.h137 // |test_paths| are the paths of the binaries to execute.
152 bool RunTests(const RunTestFn& RunTest, const fbl::Vector<fbl::String>& test_paths,
163 // |test_paths| is an output parameter to which absolute file paths will be appended.
168 fbl::Vector<fbl::String>* test_paths);
170 // Reads |test_list_file| and appends whatever tests it finds to |test_paths|.
173 int DiscoverTestsInListFile(FILE* test_list_file, fbl::Vector<fbl::String>* test_paths);
/fuchsia/zircon/system/ulib/runtests-utils/
H A Druntests-utils.cpp203 fbl::Vector<fbl::String>* test_paths) {
258 test_paths->push_back(test_path);
265 int DiscoverTestsInListFile(FILE* test_list_file, fbl::Vector<fbl::String>* test_paths) { argument
287 test_paths->push_back(line);
292 bool RunTests(const RunTestFn& RunTest, const fbl::Vector<fbl::String>& test_paths, argument
296 for (const fbl::String& test_path : test_paths) {
200 DiscoverTestsInDirGlobs(const fbl::Vector<fbl::String>& dir_globs, const char* ignore_dir_name, const fbl::Vector<fbl::String>& basename_whitelist, fbl::Vector<fbl::String>* test_paths) argument
H A Ddiscover-and-run-tests.cpp233 fbl::Vector<fbl::String> test_paths; local
243 const int err = DiscoverTestsInListFile(test_list_file, &test_paths);
252 basename_whitelist, &test_paths);
271 // TODO(mknyszek): Sort test_paths for deterministic behavior. Should be easy after ZX-1751.
275 if (!RunTests(RunTest, test_paths, output_dir, kOutputFileName, verbosity, &failed_count,
/fuchsia/zircon/system/utest/runtests-utils/
H A Druntests-utils-test.cpp462 fbl::Vector<fbl::String> test_paths; local
463 EXPECT_EQ(0, DiscoverTestsInListFile(test_list_file, &test_paths));
464 EXPECT_EQ(3, test_paths.size());
465 EXPECT_STR_EQ("trailing/tab", test_paths[0].c_str());
466 EXPECT_STR_EQ("trailing/space", test_paths[1].c_str());
467 EXPECT_STR_EQ("trailing/return", test_paths[2].c_str());

Completed in 30 milliseconds