Lines Matching defs:Test
30 #include "test-runner.h"
33 vixl::Test* vixl::Test::first_ = NULL;
34 vixl::Test* vixl::Test::last_ = NULL;
37 bool vixl::Test::debug_ = false;
40 bool vixl::Test::trace_sim_ = false;
41 bool vixl::Test::trace_reg_ = false;
42 bool vixl::Test::trace_write_ = false;
45 bool vixl::Test::coloured_trace_ = false;
48 bool vixl::Test::instruction_stats_ = false;
50 // Don't generate simulator test traces by default.
51 bool vixl::Test::sim_test_trace_ = false;
53 // Instantiate a Test and append it to the linked list.
54 vixl::Test::Test(const char* name, TestFunction* callback)
56 // Append this test to the linked list.
97 printf("Usage: ./test [options] [test names]\n"
122 // Anything that isn't an option is a test specifier.
127 // Options controlling test conditions and debug output.
130 vixl::Test::set_trace_reg(true);
131 vixl::Test::set_trace_write(true);
132 vixl::Test::set_trace_sim(true);
133 vixl::Test::set_coloured_trace(true);
137 vixl::Test::set_coloured_trace(true);
141 vixl::Test::set_debug(true);
145 vixl::Test::set_trace_write(true);
149 vixl::Test::set_trace_reg(true);
153 vixl::Test::set_trace_sim(true);
157 vixl::Test::set_instruction_stats(true);
160 if (IsInArgs("--sim-test-trace", argc, argv)) {
161 vixl::Test::set_sim_test_trace(true);
171 for (vixl::Test* c = vixl::Test::first(); c != NULL; c = c->next()) {
177 for (vixl::Test* c = vixl::Test::first(); c != NULL; c = c->next()) {
192 vixl::Test* c;
193 for (c = vixl::Test::first(); c != NULL; c = c->next()) {
199 // Fail if we have not found a matching test to run.
201 printf("Test '%s' does not exist. Aborting...\n", argv[i]);