Commit Graph

41 Commits

Author SHA1 Message Date
eab44307f0
run-tests: Avoid starting a shell to spawn test processes
All checks were successful
Build and test / build (push) Successful in 2m9s
2024-03-14 12:37:59 +01:00
e34395915d
libc+tests+tools: Call global constructors in userspace code 2024-01-04 21:02:51 +01:00
5a1adcb2a6
libc: Add putenv 2023-08-11 17:59:04 +02:00
4ed7ec5e93
libluna: Store SharedPtr's ref count in the object itself
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-30 11:32:46 +02:00
cd6bf745a7
tests+kernel+init: Run tests automatically in a headless way
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-21 14:09:37 +02:00
2951d6d112
libc+tests: Check for manual modifications of environ
All checks were successful
continuous-integration/drone/push Build is passing
Closes #31.
2023-07-12 16:25:06 +02:00
15199a2366
libluna+libc: Implement memchr() and strstr()
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-10 15:30:05 +02:00
16b0531d42
kernel+apps+base+tools: Use Ext2 for the root partition file system
All checks were successful
continuous-integration/drone/push Build is passing
init is now split into two parts: preinit, which lives in the initrd and prepares the root file system for init,
and the actual /usr/bin/init, which lives in the root partition and starts services and reaps zombies.

The kernel now looks for /bin/preinit instead of /bin/init as the executable for the init process.

All configuration files in initrd/etc have been moved to base/etc. (The plan is to have only moon and preinit in the initrd.)

Since the current Ext2 implementation is read-only (and it's on a CDROM so it would be read-only anyways),
/home/selene is a tmpfs (as well as /tmp), to allow for a writable home directory.

The system is slower now, but that's to expect since the Ext2 code doesn't use caching and the ATA code still uses PIO.
2023-07-10 13:05:06 +02:00
55d147841f
libc+tests: Add type modifiers and integer conversion specifiers to scanf() 2023-06-19 00:59:42 +02:00
25e9187826
libc+tests: Add basic support for the scanf family of functions
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-18 23:44:30 +02:00
ec34937f14
tests: Add tests for libluna/CPath.h 2023-06-18 20:15:18 +02:00
4f86cd9f08
libluna: Add a so very basic HashMap
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-17 00:07:43 +02:00
d589834eb7
libluna: Add HashTable
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-15 15:50:04 +02:00
dc7e503342
tests: Test character formatting
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-13 12:50:10 +02:00
e481ce45d0
tests: Add way more tests to TestFormat now that formatting is fixed 2023-05-13 12:45:14 +02:00
4a764bc315
tests+libluna: Start testing Format.cpp
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-11 16:56:28 +02:00
35b1b36599
tools+tests: Add a system to run all tests at once automatically
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-07 23:04:24 +02:00
77560bbc3e
kernel+tools: Allow loading files with different owners + add a more dynamic install script
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-06 12:11:35 +02:00
ae7c841fff
tests: Make building tests optional, although with no option to toggle them on for now
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-28 20:02:49 +02:00
b34f2149ee
tests: Test libluna's UTF-8 suite 2023-04-28 20:01:45 +02:00
e1ac9473a2
libluna: If allowing garbage chars while decoding Base64, skip them after the padding instead of erroring out 2023-04-26 22:32:24 +02:00
fb22e14524
tests: Add tests for Base64
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-26 21:17:09 +02:00
a99a0e5a54
tests: Start testing libluna
All checks were successful
continuous-integration/drone/push Build is passing
Hooray!!
2023-04-23 21:52:28 +02:00
cf758fdfdc Initial commit :) 2022-11-13 10:09:09 +01:00
e54f033578 libc: Add wcslen (with a test) and wcscat 2022-11-12 14:16:00 +01:00
2e9348181d Tests: Add tests for strcmp() and strncmp() 2022-11-06 19:51:56 +01:00
c6ce7a5358 libc: Add bsearch (with a test!!) 2022-11-06 17:34:35 +01:00
1025248cc7 libc: Add qsort (with a test!!) 2022-11-06 17:16:08 +01:00
da182f1c2f libc: Add mktemp() and mkdtemp(), along with a test for mktemp 2022-11-05 18:07:45 +01:00
6d4d2579ab Tests: Add tests for strchrnul, strdup and strndup 2022-10-22 20:36:28 +02:00
4725538aa7 Tests: Add tests for memmove and memcmp + correct our memcmp implementation 2022-10-22 19:04:19 +02:00
bfbe8e847b Tests: Add tests for memset, memcpy and memchr 2022-10-22 18:33:28 +02:00
766b6d26c8 Tests: add test for strpbrk() 2022-10-22 18:09:43 +02:00
ea96c5f47b Tests: Add tests for calloc() and realloc() 2022-10-22 18:06:01 +02:00
c3828dd357 Tests: add tests for strchr() and strrchr() 2022-10-22 17:58:54 +02:00
9bbb5d0c07 libc: Implement strspn (with a test) 2022-10-22 12:36:31 +02:00
6e01323e84 Tests: Add tests for srand, atol and atoll 2022-10-22 12:10:19 +02:00
59d5e9789e Tests: Add a test for atoi() 2022-10-22 12:03:10 +02:00
1f5f6a5e3b libc: Add strcspn (with a test) 2022-10-22 11:57:25 +02:00
0a46feb162 Add strnlen test 2022-10-16 16:00:14 +02:00
d62eb6c791 Tests: Add test framework 2022-10-16 15:31:58 +02:00