diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 20:29:21 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 20:31:55 +0200 |
commit | 99ef2719fb3d703fe38c4113cd7f5adec516dd3a (patch) | |
tree | 2c1f77cb41b60ccbf8faa77a3640491a3546b546 /test/dlopen/libtest1.c | |
parent | 543308f6c46cf2edf8a524bc9c631e472570fe72 (diff) |
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.
Diffstat (limited to 'test/dlopen/libtest1.c')
-rw-r--r-- | test/dlopen/libtest1.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/test/dlopen/libtest1.c b/test/dlopen/libtest1.c deleted file mode 100644 index a2f7dcdc0..000000000 --- a/test/dlopen/libtest1.c +++ /dev/null @@ -1,40 +0,0 @@ -#include <stdio.h> - -extern int libtest2_func(const char *s); - -void __attribute__((constructor)) libtest1_ctor(void); -void libtest1_ctor(void) -{ - printf("libtest1: constructor!\n"); -} - -void __attribute__((destructor)) libtest1_dtor(void); -void libtest1_dtor(void) -{ - printf("libtest1: destructor!\n"); -} - -void __attribute__((weak)) function1(void); -void function1(void) -{ - printf("libtest1: I am weak function1!\n"); -} - -void function2(void); -void function2(void) -{ - printf("libtest1: I am function2!\n"); -} - -int dltest(const char *s); -int dltest(const char *s) -{ - printf( "libtest1: function1 = %p\n" - "libtest1: function2 = %p\n", - function1, function2); - function1(); - function2(); - return(libtest2_func(s)); -} - - |