From 99ef2719fb3d703fe38c4113cd7f5adec516dd3a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 28 Oct 2016 20:29:21 +0200 Subject: test: remove test suite The test suite is now a developed in a separate git repository. See here: http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng-test.git The test suite should be just like every other software compiled with the cross-toolchain. In the past strange problems where found when the test suite got build in the toolchain creation step. --- test/dlopen/libtest2.c | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 test/dlopen/libtest2.c (limited to 'test/dlopen/libtest2.c') diff --git a/test/dlopen/libtest2.c b/test/dlopen/libtest2.c deleted file mode 100644 index 526150666..000000000 --- a/test/dlopen/libtest2.c +++ /dev/null @@ -1,38 +0,0 @@ -#include -#include - -void __attribute__((constructor)) libtest2_ctor(void); -void libtest2_ctor(void) -{ - printf("libtest2: constructor!\n"); -} - -void __attribute__((destructor)) libtest2_dtor(void); -void libtest2_dtor(void) -{ - printf("libtest2: destructor!\n"); -} - -void function1(void); -void function1(void) -{ - printf("libtest2: I am function1!\n"); -} - -void __attribute__((weak)) function2(void); -void function2(void) -{ - printf("libtest2: I am weak function2!\n"); -} - - -int libtest2_func(const char *s); -int libtest2_func(const char *s) -{ - printf( "libtest2: function1 = %p\n" - "libtest2: function2 = %p\n", - function1, function2); - function1(); - function2(); - return 0; -} -- cgit v1.2.3