summaryrefslogtreecommitdiff
path: root/test/args
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/args
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/args')
-rw-r--r--test/args/Makefile8
-rw-r--r--test/args/Makefile.in9
-rw-r--r--test/args/arg_test.c40
-rw-r--r--test/args/arg_test.out.good13
-rw-r--r--test/args/arg_test_glibc.out.good13
5 files changed, 0 insertions, 83 deletions
diff --git a/test/args/Makefile b/test/args/Makefile
deleted file mode 100644
index 0ae3f010b..000000000
--- a/test/args/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-# uClibc args tests
-# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
-
-top_builddir=../../
-top_srcdir=../../
-include ../Rules.mak
--include Makefile.in
-include ../Test.mak
diff --git a/test/args/Makefile.in b/test/args/Makefile.in
deleted file mode 100644
index f4edab454..000000000
--- a/test/args/Makefile.in
+++ /dev/null
@@ -1,9 +0,0 @@
-# uClibc args tests
-# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
-
-OPTS_arg_test = a b c d e f g h
-WRAPPER_arg_test = \
- env -i \
- ENVVAR=123 \
- SOMETHING=sldajfasdf \
- BLAHBLAH=" hi hi "
diff --git a/test/args/arg_test.c b/test/args/arg_test.c
deleted file mode 100644
index 86f31575a..000000000
--- a/test/args/arg_test.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/* vi: set sw=4 ts=4: */
-/*
- * Test application for argc and argv handling
- * Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
- *
- * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-
-int main(int argc, char **argv)
-{
- int i=0;
- char** index=__environ;
-
-#ifdef __powerpc__
- {
- unsigned long sp;
- sp = (unsigned long) __builtin_frame_address(0);
- if(sp&0xf){
- printf("stack pointer is unaligned! (%08lx)\n", sp);
- }
- }
-#endif
-
- printf("argc=%d\n", argc);
-
- for(i=0;i<argc;i++) {
- printf("argv[%d]='%s'\n", i, argv[i]);
- }
-
- i=0;
- while(*index) {
- printf("environ[%d]='%s'\n", i++, *index++);
- }
-
- exit(0);
-}
diff --git a/test/args/arg_test.out.good b/test/args/arg_test.out.good
deleted file mode 100644
index 937a80367..000000000
--- a/test/args/arg_test.out.good
+++ /dev/null
@@ -1,13 +0,0 @@
-argc=9
-argv[0]='./arg_test'
-argv[1]='a'
-argv[2]='b'
-argv[3]='c'
-argv[4]='d'
-argv[5]='e'
-argv[6]='f'
-argv[7]='g'
-argv[8]='h'
-environ[0]='ENVVAR=123'
-environ[1]='SOMETHING=sldajfasdf'
-environ[2]='BLAHBLAH= hi hi '
diff --git a/test/args/arg_test_glibc.out.good b/test/args/arg_test_glibc.out.good
deleted file mode 100644
index af0efcb8c..000000000
--- a/test/args/arg_test_glibc.out.good
+++ /dev/null
@@ -1,13 +0,0 @@
-argc=9
-argv[0]='./arg_test_glibc'
-argv[1]='a'
-argv[2]='b'
-argv[3]='c'
-argv[4]='d'
-argv[5]='e'
-argv[6]='f'
-argv[7]='g'
-argv[8]='h'
-environ[0]='ENVVAR=123'
-environ[1]='SOMETHING=sldajfasdf'
-environ[2]='BLAHBLAH= hi hi '