Commit Graph
72 Commits
Author SHA1 Message Date
thomas 81730fe96a Move ttest include file 2018-03-20 14:11:21 +01:00
thomas b82405a4c4 Make BEFORE and AFTER definiton function-like 2018-03-20 14:11:21 +01:00
thomas e29262e9aa Add AFTER() for cleanup 2018-03-20 14:11:21 +01:00
thomas 187d131ab0 Nicer test error output 2018-03-20 14:11:21 +01:00
thomas 512e1a988a Make test definitions more function like 2018-03-20 14:11:21 +01:00
thomas 826885df8a Make ttest compile under clang 2018-03-20 14:11:21 +01:00
thomas ad74123882 Handle null pointers in string comparisons 2018-03-20 14:11:21 +01:00
thomas cfa1a15076 Define TTEST when ttesting. Also allow multiple assertions per test 2018-03-20 14:11:21 +01:00
thomas 1b80c00658 Fix overflow bug when comparing strings 2018-03-20 14:11:21 +01:00
thomas e50fbff2d1 Handle compilation errors of tests 2018-03-20 14:11:21 +01:00
thomas cba19b62df More assertions and catching crashes 2018-03-20 14:11:21 +01:00
thomas faaedb212d A simple testing framework 2018-03-20 14:11:21 +01:00
thomas 823560d3ae Simplify P2V and V2P macros - also makes them more useful 2018-03-20 14:10:03 +01:00
thomas 83f81b9a74 Cleaning up and commenting 2018-03-20 14:10:03 +01:00
thomas 663668ff93 Move the kernel to high memory 2018-03-20 14:10:03 +01:00
thomas 93d60294ba Move include files 2018-03-19 20:29:40 +01:00
thomas 5ddf0173c2 Remove magic numbers. Also, no code segment - not needed. 2018-03-19 20:29:40 +01:00
thomas 607266bfd3 Clean up interface 2018-03-19 20:29:40 +01:00
thomas 2451851b9f Remove Multiboot1 support 2018-03-19 20:29:40 +01:00
thomas e2ecdb6154 Keep the multiboot header as simple as possible 2018-03-19 20:29:40 +01:00
thomas a44d0d7500 Move Multiboot headers to separate file 2018-03-19 20:29:40 +01:00
thomas d80e87991e A bit of cleanup 2018-03-19 20:29:40 +01:00