diff --git a/userspace/tests/CMakeLists.txt b/userspace/tests/CMakeLists.txt index 4d47941d..26a8912f 100644 --- a/userspace/tests/CMakeLists.txt +++ b/userspace/tests/CMakeLists.txt @@ -6,6 +6,7 @@ set(USERSPACE_TESTS test-mouse test-popen test-setjmp + test-shared test-sort test-tcp test-udp diff --git a/userspace/tests/test-shared/CMakeLists.txt b/userspace/tests/test-shared/CMakeLists.txt new file mode 100644 index 00000000..9e016eb0 --- /dev/null +++ b/userspace/tests/test-shared/CMakeLists.txt @@ -0,0 +1,8 @@ +set(SOURCES + main.cpp +) + +add_executable(test-shared ${SOURCES}) +banan_link_library(test-shared libc-shared) + +install(TARGETS test-shared OPTIONAL) diff --git a/userspace/tests/test-shared/main.cpp b/userspace/tests/test-shared/main.cpp new file mode 100644 index 00000000..6120a327 --- /dev/null +++ b/userspace/tests/test-shared/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() +{ + printf("printf works!\n"); +}