Home
last modified time | relevance | path

Searched refs:Die (Results 1 – 1 of 1) sorted by relevance

/system/core/cli-test/
Dcli-test.cpp76 static void Die(int error, const char* fmt, ...) { in Die() function
100 Die(0, "%s:%zu: %s already set to '%s'", g_file, g_line, what, field->c_str()); in SetField()
116 Die(errno, "realpath '%s'", test_filename); in CollectTests()
121 Die(errno, "couldn't read '%s'", test_filename); in CollectTests()
135 Die(0, "%s:%zu: each test requires both a name and a command", g_file, g_line); in CollectTests()
157 Die(0, "%s:%zu: syntax error: \"%s\"", g_file, g_line, line.c_str()); in CollectTests()
160 if (count == 0) Die(0, "no tests found in '%s'", g_file); in CollectTests()
225 if (chdir(td.path)) Die(errno, "chdir(\"%s\")", td.path); in RunTests()
316 if (!*argv) Die(0, "no test files provided"); in main()