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/pthread/ex6.c | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 test/pthread/ex6.c (limited to 'test/pthread/ex6.c') diff --git a/test/pthread/ex6.c b/test/pthread/ex6.c deleted file mode 100644 index ffb628771..000000000 --- a/test/pthread/ex6.c +++ /dev/null @@ -1,44 +0,0 @@ -#include -#include -#include -#include -#include - -static void * -test_thread (void *v_param) -{ - return NULL; -} - -int -main (void) -{ - unsigned long count; - struct timespec ts; - ts.tv_sec = 0; - ts.tv_nsec = 10 * 1000; - - setvbuf (stdout, NULL, _IONBF, 0); - - for (count = 0; count < 2000; ++count) - { - pthread_t thread; - int status; - - status = pthread_create (&thread, NULL, test_thread, NULL); - if (status != 0) - { - printf ("status = %d, count = %lu: %s\n", status, count, - strerror (errno)); - return 1; - } - else - { - printf ("count = %lu\n", count); - } - /* pthread_detach (thread); */ - pthread_join (thread, NULL); - nanosleep (&ts, NULL); - } - return 0; -} -- cgit v1.2.3