| 1 | #pragma once |
|---|---|
| 2 | #include <test/test.h> |
| 3 | |
| 4 | #include <crypto/prng.h> |
| 5 | #include <log.h> |
| 6 | #include <mem/alloc.h> |
| 7 | #include <sch/sched.h> |
| 8 | #include <smp/core.h> |
| 9 | #include <stdatomic.h> |
| 10 | #include <string.h> |
| 11 | #include <sync/mutex.h> |
| 12 | #include <sync/mutex_simple.h> |
| 13 | #include <sync/rcu.h> |
| 14 | #include <sync/rwlock.h> |
| 15 | #include <thread/apc.h> |
| 16 | #include <thread/thread.h> |
| 17 | #include <thread/workqueue.h> |
| 18 | #include <time/spin_sleep.h> |
| 19 | |
| 20 | #include <sync/qspinlock.h> |
| 21 | #include <sync/turnstile.h> |
| 22 | |
| 23 | TEST_GROUP_DEFINE(mutex); |
| 24 | TEST_GROUP_DEFINE(rcu); |
| 25 | TEST_GROUP_DEFINE(rwlock); |
| 26 | TEST_GROUP_DEFINE(sync_nightmare); |
| 27 | TEST_GROUP_DEFINE(qspinlock); |
| 28 | TEST_GROUP_DEFINE(turnstile); |
| 29 | TEST_GROUP_DEFINE(lock_chk); |
| 30 | TEST_GROUP_DEFINE(raw_spinlock); |
| 31 | TEST_GROUP_DEFINE(condvar); |
| 32 | TEST_GROUP_DEFINE(semaphore); |
| 33 | TEST_GROUP_DEFINE(completion); |
| 34 |