CS318 - Pintos
Pintos source browser for JHU CS318 course
tests.h
Go to the documentation of this file.
1 #ifndef TESTS_THREADS_TESTS_H
2 #define TESTS_THREADS_TESTS_H
3 
4 void run_test (const char *);
5 
6 typedef void test_func (void);
7 
35 
36 void msg (const char *, ...);
37 void fail (const char *, ...);
38 void pass (void);
39 
40 #endif /**< tests/threads/tests.h */
41 
test_mlfqs_load_1
test_func test_mlfqs_load_1
test_mlfqs_fair_2
test_func test_mlfqs_fair_2
test_priority_donate_chain
test_func test_priority_donate_chain
test_priority_donate_sema
test_func test_priority_donate_sema
test_priority_change
test_func test_priority_change
test_alarm_single
test_func test_alarm_single
test_priority_donate_lower
test_func test_priority_donate_lower
test_alarm_negative
test_func test_alarm_negative
test_mlfqs_nice_10
test_func test_mlfqs_nice_10
run_test
void run_test(const char *)
Runs the test named NAME.
Definition: tests.c:47
test_alarm_zero
test_func test_alarm_zero
test_mlfqs_load_avg
test_func test_mlfqs_load_avg
test_priority_donate_nest
test_func test_priority_donate_nest
test_func
void test_func(void)
Definition: tests.h:6
test_priority_condvar
test_func test_priority_condvar
test_priority_donate_multiple2
test_func test_priority_donate_multiple2
test_alarm_simultaneous
test_func test_alarm_simultaneous
test_mlfqs_block
test_func test_mlfqs_block
fail
void fail(const char *,...)
Prints failure message FORMAT as if with printf(), prefixing the output by the name of the test and F...
Definition: lib.c:40
pass
void pass(void)
tests/threads/tests.h
Definition: tests.c:98
test_mlfqs_load_60
test_func test_mlfqs_load_60
test_priority_fifo
test_func test_priority_fifo
test_mlfqs_fair_20
test_func test_mlfqs_fair_20
test_mlfqs_recent_1
test_func test_mlfqs_recent_1
test_priority_preempt
test_func test_priority_preempt
test_alarm_priority
test_func test_alarm_priority
test_priority_donate_multiple
test_func test_priority_donate_multiple
test_priority_sema
test_func test_priority_sema
test_priority_donate_one
test_func test_priority_donate_one
msg
void msg(const char *,...)
Prints FORMAT as if with printf(), prefixing the output by the name of the test and following it with...
Definition: lib.c:28
test_alarm_multiple
test_func test_alarm_multiple
test_mlfqs_nice_2
test_func test_mlfqs_nice_2