20static constexpr const char*
kNone =
"No Test";
21static constexpr const char*
kList =
"List all Tests";
22static constexpr const char*
kAll =
"Run all Tests";
38 if (first_ ==
nullptr) {
48 while (
test !=
nullptr) {
87 }
else if (argc > 1) {
101 "Some tests failed. Run the following command to update "
102 "expectations.\ntools/test.py --vm-options=--update ffi_unit");
void static bool failed()
static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
static void Print(const char *format,...) PRINTF_ATTRIBUTE(1
const char * name() const
static bool update_expectations
TestCaseBase(const char *name, const char *expectation)
const char * expectation() const
static int Main(int argc, const char **argv)
static constexpr const char * kAll
static constexpr const char * kCommandList
static constexpr const char * kCommandAll
static constexpr const char * kCommandUpdate
static const char * run_filter
static constexpr const char * kList
static constexpr const char * kNone
int main(int argc, const char **argv)