Go to the source code of this file.
void fail | ( | const char * | , | |
... | ||||
) |
Definition at line 41 of file lib.c.
References exit(), PANIC, printf(), putchar(), test_name, va_end, va_start, vmsg(), and vprintf().
Referenced by check_file_handle(), check_file_size(), check_tell(), compare_bytes(), main(), seq_test(), test_main(), test_mlfqs_load_1(), test_sleep(), verify(), wrap_open(), and write_some_bytes().
void msg | ( | const char * | , | |
... | ||||
) |
Definition at line 29 of file lib.c.
References printf(), putchar(), quiet, test_name, va_end, va_start, vmsg(), and vprintf().
Referenced by a_thread_func(), acquire1_thread_func(), acquire2_thread_func(), acquire_thread_func(), alarm_priority_thread(), b_thread_func(), block_thread(), c_thread_func(), changing_thread(), check_file(), check_file_handle(), compare_bytes(), donor_thread_func(), h_thread_func(), high_thread_func(), init(), interloper_thread_func(), l_thread_func(), m_thread_func(), main(), make_tree(), medium_thread_func(), merge(), priority_condvar_thread(), priority_sema_thread(), remove_tree(), run_test(), seq_test(), simple_thread_func(), sort_chunks(), test_main(), test_mlfqs_block(), test_mlfqs_fair(), test_mlfqs_load_1(), test_mlfqs_load_60(), test_mlfqs_load_avg(), test_mlfqs_recent_1(), test_priority_change(), test_priority_condvar(), test_priority_donate_chain(), test_priority_donate_lower(), test_priority_donate_multiple(), test_priority_donate_multiple2(), test_priority_donate_nest(), test_priority_donate_one(), test_priority_donate_sema(), test_priority_fifo(), test_priority_preempt(), test_priority_sema(), test_sleep(), and verify().
void pass | ( | void | ) |
Definition at line 98 of file tests.c.
References printf(), and test_name.
Referenced by test_alarm_negative(), test_alarm_zero(), and test_mlfqs_load_1().
void run_test | ( | const char * | ) |
Definition at line 47 of file tests.c.
References test::function, msg(), test::name, PANIC, strcmp(), and test_name.
Referenced by run_task().
test_func test_alarm_multiple |
Referenced by test_alarm_multiple().
test_func test_alarm_negative |
Referenced by test_alarm_negative().
test_func test_alarm_priority |
Referenced by test_alarm_priority().
test_func test_alarm_simultaneous |
Referenced by test_alarm_simultaneous().
test_func test_alarm_single |
Referenced by test_alarm_single().
test_func test_alarm_zero |
Referenced by test_alarm_zero().
test_func test_mlfqs_block |
Referenced by test_mlfqs_block().
test_func test_mlfqs_fair_2 |
Referenced by test_mlfqs_fair_2().
test_func test_mlfqs_fair_20 |
Referenced by test_mlfqs_fair_20().
test_func test_mlfqs_load_1 |
Referenced by test_mlfqs_load_1().
test_func test_mlfqs_load_60 |
Referenced by test_mlfqs_load_60().
test_func test_mlfqs_load_avg |
Referenced by test_mlfqs_load_avg().
test_func test_mlfqs_nice_10 |
Referenced by test_mlfqs_nice_10().
test_func test_mlfqs_nice_2 |
Referenced by test_mlfqs_nice_2().
test_func test_mlfqs_recent_1 |
Referenced by test_mlfqs_recent_1().
test_func test_priority_change |
Referenced by test_priority_change().
test_func test_priority_condvar |
Referenced by test_priority_condvar().
test_func test_priority_donate_chain |
Referenced by test_priority_donate_chain().
test_func test_priority_donate_lower |
Referenced by test_priority_donate_lower().
test_func test_priority_donate_multiple |
Referenced by test_priority_donate_multiple().
test_func test_priority_donate_multiple2 |
Referenced by test_priority_donate_multiple2().
test_func test_priority_donate_nest |
Referenced by test_priority_donate_nest().
test_func test_priority_donate_one |
Referenced by test_priority_donate_one().
test_func test_priority_donate_sema |
Referenced by test_priority_donate_sema().
test_func test_priority_fifo |
Referenced by test_priority_fifo().
test_func test_priority_preempt |
Referenced by test_priority_preempt().
test_func test_priority_sema |
Referenced by test_priority_sema().