void otama_test_variant(void) { OTAMA_TEST_NAME; test_convert(); test_to_string(); test_array(); test_hash(); }
int main(void) { bool err = false; setup(); err |= test_get_resource(); cleanup(); err |= test_convert(); return err; }
/** Main test */ int main( int argc, char **argv ) { setlocale( LC_ALL, "" ); srand( time( 0 ) ); program_name=L"(ignore)"; say( L"Testing low-level functionality"); say( L"Lines beginning with '(ignore):' are not errors, they are warning messages\ngenerated by the fish parser library when given broken input, and can be\nignored. All actual errors begin with 'Error:'." ); proc_init(); halloc_util_init(); event_init(); parser_init(); function_init(); builtin_init(); reader_init(); env_init(); test_util(); test_escape(); test_convert(); test_tok(); test_parser(); test_expand(); test_path(); say( L"Encountered %d errors in low-level tests", err_count ); /* Skip performance tests for now, since they seem to hang when running from inside make (?) */ // say( L"Testing performance" ); // perf_complete(); env_destroy(); reader_destroy(); parser_destroy(); function_destroy(); builtin_destroy(); wutil_destroy(); event_destroy(); proc_destroy(); halloc_util_destroy(); }
rtems_task Init( rtems_task_argument argument ) { timespec1=&ts1; timespec2=&ts2; puts( "\n\n*** TEST sptimespec01 ***" ); test_add(); test_divide(); test_divide_by_integer(); test_compare(); test_validity(); test_subtract(); test_convert(); puts( "\n*** END OF TEST sptimespec01 ***" ); rtems_test_exit(0); }