summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2017-08-02simplified malloc test, see if we are leaking memory, the exactAndreas Baumann
size can differ due to alignment now
2017-07-23added snprintf and a test for itAndreas Baumann
2017-07-18reverted clang --no-inline flag and readded bug, I can not make clangAndreas Baumann
consistently produce correct code with all combinations of hosts and cross targets!
2017-07-18added -fno-inline to avoid clang 4.0.1 to break vsprintf with va_args when ↵Andreas Baumann
inlined
2017-07-18added clang SSP functionsAndreas Baumann
2017-07-15...same for libc testsAndreas Baumann
2017-07-15added a better malloc testAndreas Baumann
2017-07-14testing exit, not abort in libc testsAndreas Baumann
2017-07-14some linkage tweaking, the kernel is not linked against libssp (whichAndreas Baumann
is using linux/glibc), we provide our own SSP guards leading to kernel_panic (for now). per default build the kernel with ld (as we need precise control how we link it) the libc tests are per default linked with the same compiler as provided with $(CC) using #include_next of gcc/clang to include the real stdint.h header file in stdint.h stub
2017-07-14removed stddef.h and limits.h (come with the compiler header files)Andreas Baumann
added a stub stdint.h (only sometimes comes with the compiler) added a guide on cross compiling adapted to cross compilation, for now tcc works
2017-07-13added an exit functionAndreas Baumann
added Linux syscall stubs for exit and write adapted all tests added a printf test made stdio work on Linux or AbaOs syscalls
2017-07-13forgot to add test_malloc.cAndreas Baumann
remove buffer memory functions again (can be done with a simple cast in the caller)
2017-07-13added a simple test for malloc/freeAndreas Baumann
added a memorymanager initilializer which works on a buffer instead on an offset (thus we can but the heap area also onto the stack for testing) added a kernel_stub module to test modules using kernel_panic (for now, maybe have a callback later)
2017-07-13separated C library implementations with an OS_ABAOS define (for now),Andreas Baumann
we cannot test stdio and memory management in the hosted environment yet this way
2017-07-05tried to fix libc tests, currently they draw in too many dependenciesAndreas Baumann
and don't link. We have to separate libc better from the rest of the kernel code (kernel_panic, libc library initializers)
2017-07-01added a strlcatAndreas Baumann
2017-06-10also moved tests into tests/libcAndreas Baumann
2017-05-12some testing of atoi, added a limits.hAndreas Baumann
2017-05-12added a itoaAndreas Baumann
2017-05-11added strlcpy (and a host test for it)Andreas Baumann
started to add I/O port code for VGA data and select ports