Philipp Oppermann
882c83f9de
Update many_boxes test to scale with heap size ( #716 )
...
Instead of using a hardcoded number of boxes, use the HEAP_SIZE constant. This ensures that we get a test failure because of an out-of-memory error when the allocator does not reuse freed memory.
2020-01-09 12:58:29 +01:00
Philipp Oppermann
f226ba0c3f
Merge branch 'post-09' into post-10
2019-12-10 17:17:53 +01:00
Philipp Oppermann
d1cf8000a3
Make double fault handlers diverging
...
Required by x86_64 0.8.0.
2019-12-10 17:02:46 +01:00
Philipp Oppermann
96d9de76b0
Fix: memory::init expects a VirtAddr
2019-09-15 10:56:15 +02:00
Philipp Oppermann
e89c77398d
Merge branch 'post-09' into post-10
2019-08-07 12:40:04 +02:00
Philipp Oppermann
9770d481f2
Merge branch 'post-05' into post-06
2019-08-07 12:40:04 +02:00
Philipp Oppermann
f1ae82b220
Disable the test harness for the should_panic test
2019-08-07 11:02:19 +02:00
Philipp Oppermann
aad98c0611
Add a should_panic test
2019-08-07 11:00:01 +02:00
Philipp Oppermann
f98145d556
Delete panic handler test
2019-08-07 10:38:46 +02:00
Philipp Oppermann
4792ec41b1
Adjust comments to be equal with post
2019-06-26 21:08:08 +02:00
Philipp Oppermann
df75f7f4e8
Add an integration test for heap allocation
2019-06-26 17:45:32 +02:00
Philipp Oppermann
7a45083975
Merge branch 'post-05' into post-06
2019-05-23 12:39:35 +02:00
Philipp Oppermann
c8d1bbeef8
Update code for PR #611
...
PR at https://github.com/phil-opp/blog_os/pull/611
2019-05-22 12:43:15 +02:00
Philipp Oppermann
70d981e179
Simplify stack_overflow test
2019-04-26 15:14:38 +02:00
Philipp Oppermann
c5a39e0902
Add a stack overflow integration test
2019-04-26 15:14:38 +02:00
Philipp Oppermann
ad99afae98
Fix panic_handler test by fixing line number
2019-04-26 13:42:20 +02:00
Philipp Oppermann
8374aa6ab6
Run cargo fmt
2019-04-26 13:42:20 +02:00
Philipp Oppermann
ccb8b79ef8
Add a panic handler test
2019-04-26 13:42:20 +02:00
Philipp Oppermann
a55ced6b7f
Add a basic test to basic_boot
2019-04-26 13:42:20 +02:00
Philipp Oppermann
a2d628cabe
Complete the basic_boot integration test
2019-04-26 13:41:19 +02:00
Philipp Oppermann
3b13211579
Add the skeleton for an integration test
2019-04-26 13:41:19 +02:00