summaryrefslogtreecommitdiff
path: root/test/unistd/clone_cruft.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-28 20:29:21 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-28 20:31:55 +0200
commit99ef2719fb3d703fe38c4113cd7f5adec516dd3a (patch)
tree2c1f77cb41b60ccbf8faa77a3640491a3546b546 /test/unistd/clone_cruft.h
parent543308f6c46cf2edf8a524bc9c631e472570fe72 (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/unistd/clone_cruft.h')
-rw-r--r--test/unistd/clone_cruft.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/unistd/clone_cruft.h b/test/unistd/clone_cruft.h
deleted file mode 100644
index b6a395d06..000000000
--- a/test/unistd/clone_cruft.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/* because people like to make things difficult */
-
-#undef do_clone
-
-#define crappy_sizeof(s) (s == NULL ? 0 : sizeof(s))
-
-#if defined __ia64__
-
-extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base,
- size_t __child_stack_size, int __flags, void *__arg, ...);
-# define do_clone(fn, stack, flags, arg) \
- __clone2(fn, stack, crappy_sizeof(stack), flags, arg, NULL, NULL, NULL)
-
-#elif defined __hppa__
-
-# define do_clone(fn, stack, flags, arg) \
- clone(fn, stack, flags, arg)
-
-#else
-
-# define do_clone(fn, stack, flags, arg) \
- clone(fn, stack+crappy_sizeof(stack), flags, arg)
-
-#endif