diff options
Diffstat (limited to 'package/gnuconfig/testsuite')
-rw-r--r-- | package/gnuconfig/testsuite/.cvsignore | 1 | ||||
-rw-r--r-- | package/gnuconfig/testsuite/CVS/Entries | 7 | ||||
-rw-r--r-- | package/gnuconfig/testsuite/CVS/Repository | 1 | ||||
-rw-r--r-- | package/gnuconfig/testsuite/CVS/Root | 1 | ||||
-rw-r--r-- | package/gnuconfig/testsuite/config-guess.data | 34 | ||||
-rw-r--r-- | package/gnuconfig/testsuite/config-guess.sh | 47 | ||||
-rw-r--r-- | package/gnuconfig/testsuite/config-sub.data | 117 | ||||
-rw-r--r-- | package/gnuconfig/testsuite/config-sub.sh | 35 | ||||
-rwxr-xr-x | package/gnuconfig/testsuite/uname.in | 9 |
9 files changed, 0 insertions, 252 deletions
diff --git a/package/gnuconfig/testsuite/.cvsignore b/package/gnuconfig/testsuite/.cvsignore deleted file mode 100644 index e4dcdcfaf..000000000 --- a/package/gnuconfig/testsuite/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -uname diff --git a/package/gnuconfig/testsuite/CVS/Entries b/package/gnuconfig/testsuite/CVS/Entries deleted file mode 100644 index 31b14765c..000000000 --- a/package/gnuconfig/testsuite/CVS/Entries +++ /dev/null @@ -1,7 +0,0 @@ -/.cvsignore/1.1/Mon Sep 26 07:33:33 2005// -/uname.in/1.1/Mon Sep 26 07:33:33 2005// -/config-guess.data/1.38/Thu Sep 20 16:47:13 2007// -/config-guess.sh/1.5/Thu Sep 20 16:47:13 2007// -/config-sub.data/1.47/Tue Aug 21 18:37:33 2007// -/config-sub.sh/1.3/Thu Sep 20 16:47:13 2007// -D diff --git a/package/gnuconfig/testsuite/CVS/Repository b/package/gnuconfig/testsuite/CVS/Repository deleted file mode 100644 index 5337292ad..000000000 --- a/package/gnuconfig/testsuite/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -config/testsuite diff --git a/package/gnuconfig/testsuite/CVS/Root b/package/gnuconfig/testsuite/CVS/Root deleted file mode 100644 index 192e02e93..000000000 --- a/package/gnuconfig/testsuite/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@cvs.savannah.gnu.org:/cvsroot/config diff --git a/package/gnuconfig/testsuite/config-guess.data b/package/gnuconfig/testsuite/config-guess.data deleted file mode 100644 index 0d8210da6..000000000 --- a/package/gnuconfig/testsuite/config-guess.data +++ /dev/null @@ -1,34 +0,0 @@ -crisv32 2.6.6 Linux ignored crisv32-axis-linux-gnu -frv 2.4.24 Linux ignored frv-unknown-linux-gnu -3 2.3.3 XENIX SysV i386-pc-xenix -2064 ignored z/VM ignored s390-ibm-zvmoe -amd64 1.5.12(0.116/4/2) CYGWIN_NT-5.2 ignored x86_64-unknown-cygwin -crayx1 2.5.20 UNICOS/mp ignored craynv-cray-unicosmp2.5.X -NSE-N 1.0 NONSTOP_KERNEL ignored nse-tandem-nsk1.0 -i386 ignored VOS ignored i386-stratus-vos -arm ignored RISCOS ignored arm-unknown-riscos -arm ignored riscos ignored arm-unknown-riscos -i586 5.0.0 skyos ignored i586-pc-skyos5.0.0 -i786-pc ignored windows32 ignored i786-pc-mingw32 -or32 ignored Linux ignored or32-unknown-linux-gnu -x86_64 1.5.18(0.132/4/2) CYGWIN_NT-5.2 ignored x86_64-unknown-cygwin -x86 5.2 Interix ignored i586-pc-interix5.2 -ppc64 2.6.9-22 Linux ignored powerpc64-unknown-linux-gnu -vax 2.6.15 Linux ignored vax-dec-linux-gnu -i586 ignored rdos ignored i586-pc-rdos -pc98 7.0 FreeBSD ignored i386-unknown-freebsd7.0 -i586 1.0 SolidBSD ignored i586-unknown-solidbsd1.0 -i686 5.4-1-686 GNU/kFreeBSD ignored i686-unknown-kfreebsd5.4-gnu -EM64T 5.2 Interix ignored x86_64-unknown-interix5.2 -amd64 5.2 FreeBSD ignored x86_64-unknown-freebsd5.2 -avr32 2.6.15 Linux ignored avr32-unknown-linux-gnu -x86 6.0 Interix ignored i586-pc-interix6.0 -macppc 1.0 MirBSD ignored powerpc-unknown-mirbsd1.0 -authenticamd 6.0 Interix ignored x86_64-unknown-interix6.0 -SX-8 1.0 SUPER-UX ignored sx8-nec-superux1.0 -SX-7 1.0 SUPER-UX ignored sx7-nec-superux1.0 -xtensa 2.6.15 Linux ignored xtensa-unknown-linux-gnu -x86_64 1.0 MINGW ignored x86_64-pc-mingw32 -i386 1.0 MINGW ignored i386-pc-mingw32 -SX-8R 1.0 SUPER-UX ignored sx8r-nec-superux1.0 -i86xen 5.6 SunOS ignored i386-pc-solaris2.6 diff --git a/package/gnuconfig/testsuite/config-guess.sh b/package/gnuconfig/testsuite/config-guess.sh deleted file mode 100644 index 324f275e3..000000000 --- a/package/gnuconfig/testsuite/config-guess.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -# -# Copyright 2004, 2005 Free Software Foundation, Inc. -# Contributed by Ben Elliston <bje@gnu.org>. -# -# This test reads 5-tuples from config-guess.data: the components of -# the simulated uname(1) output and the expected GNU system triplet. - -verbose=false -export PATH=`pwd`:$PATH -IFS=" " # tab - -run_config_guess () -{ - rc=0 - while read machine release system version triplet ; do - sed \ - -e "s,@MACHINE@,$machine," \ - -e "s,@RELEASE@,$release," \ - -e "s,@SYSTEM@,$system," \ - -e "s,@VERSION@,$version," < uname.in > uname - chmod +x uname - output=`sh ../config.guess 2>/dev/null` - if test $? != 0 ; then - echo "FAIL: unable to guess $machine:$release:$system:$version" - rc=1 - continue - fi - if test $output != $triplet ; then - echo "FAIL: $output (expected $triplet)" - rc=1 - continue - fi - $verbose && echo "PASS: $triplet" - done - return $rc -} - -sed 's/ */ /g' < config-guess.data | run_config_guess -rc=$? -if test $rc -eq 0 ; then - $verbose || echo "PASS: config.guess checks" -else - test $rc -eq 1 && echo "Unexpected failures." -fi - -exit $rc diff --git a/package/gnuconfig/testsuite/config-sub.data b/package/gnuconfig/testsuite/config-sub.data deleted file mode 100644 index 2a5e1f1eb..000000000 --- a/package/gnuconfig/testsuite/config-sub.data +++ /dev/null @@ -1,117 +0,0 @@ -arm-coff arm-unknown-coff -arm-elf arm-unknown-elf -sun3 m68k-sun-sunos4.1.1 -sun4 sparc-sun-sunos4.1.1 -ibm i370-ibm-aix -i386-os2 i386-pc-os2 -os400 powerpc-ibm-os400 -mmix mmix-knuth-mmixware -mmix-elf mmix-knuth-elf -i386-linux i386-pc-linux-gnu -i386-netbsd i386-pc-netbsd -i386-openbsd i386-pc-openbsd -i386-freebsd i386-pc-freebsd -pc98-freebsd i386-pc-freebsd -i386-elf i386-pc-elf -i486-elf i486-pc-elf -i586-elf i586-pc-elf -i686-elf i686-pc-elf -i786-elf i786-pc-elf -amd64-unknown-freebsd5.2 x86_64-unknown-freebsd5.2 -cris-linux cris-axis-linux-gnu -crisv32-linux crisv32-axis-linux-gnu -frv-linux frv-unknown-linux-gnu -djgpp i586-pc-msdosdjgpp -s390-ibm-zvmoe s390-ibm-zvmoe -xscale xscale-unknown-none -xscaleeb xscaleeb-unknown-none -xscaleel xscaleel-unknown-none -xbox i686-pc-mingw32 -maxq maxq-unknown-none -maxq-elf maxq-unknown-elf -amd64-cygwin x86_64-pc-cygwin -x86_64-cygwin x86_64-pc-cygwin -sparc64-linux sparc64-unknown-linux-gnu -sparc64b-linux sparc64b-unknown-linux-gnu -bfin-elf bfin-unknown-elf -bfin bfin-unknown-none -arm-riscos arm-unknown-riscos -arm-unknown-riscos arm-unknown-riscos -i586-skyos i586-pc-skyos -m32c m32c-unknown-none -m32c-elf m32c-unknown-elf -ms1 mt-unknown-none -ms1-elf mt-unknown-elf -mips64vr5900-elf mips64vr5900-unknown-elf -mips64vr5900el-elf mips64vr5900el-unknown-elf -mips64vr5900 mips64vr5900-unknown-elf -mips64vr5900el mips64vr5900el-unknown-elf -sh64 sh64-unknown-none -sh64-elf sh64-unknown-elf -openrisc-linux or32-unknown-linux-gnu -or32-linux or32-unknown-linux-gnu -sh-elf sh-unknown-elf -sh1-elf sh1-unknown-elf -sh2-elf sh2-unknown-elf -sh3-elf sh3-unknown-elf -sh4-elf sh4-unknown-elf -sh2a-elf sh2a-unknown-elf -sh4a-elf sh4a-unknown-elf -sh2e-elf sh2e-unknown-elf -sh3e-elf sh3e-unknown-elf -sh3eb-elf sh3eb-unknown-elf -sh4eb-elf sh4eb-unknown-elf -sheb-elf sheb-unknown-elf -shbe-elf shbe-unknown-elf -shle-elf shle-unknown-elf -sh1le-elf sh1le-unknown-elf -sh2le-elf sh2le-unknown-elf -sh3le-elf sh3le-unknown-elf -sh4le-elf sh4le-unknown-elf -sh3ele-elf sh3ele-unknown-elf -i386-haiku i386-pc-haiku -sparc-haiku sparc-unknown-haiku -powerpc-haiku powerpc-unknown-haiku -i386-pc-sco6 i386-pc-sco5v6 -i386-pc-sco5v6 i386-pc-sco5v6 -mt mt-unknown-none -mt-elf mt-unknown-elf -rdos i386-pc-rdos -i586-rdos i586-pc-rdos -i386-linux-newlib i386-pc-linux-newlib -mb-elf mb-unknown-elf -microblaze-elf microblaze-unknown-elf -i386-solidbsd i386-pc-solidbsd -amd64-kfreebsd5.4-gnu x86_64-pc-kfreebsd5.4-gnu -nios nios-unknown-none -nios2 nios2-unknown-none -nios-elf nios-unknown-elf -nios2-elf nios2-unknown-elf -sparcv9v-elf sparcv9v-unknown-elf -sparc64v-elf sparc64v-unknown-elf -sparcv9v-solaris2.9 sparcv9v-unknown-solaris2.9 -sparc64v-solaris2.9 sparc64v-unknown-solaris2.9 -sh-toppers sh-unknown-toppers -spu spu-unknown-elf -spu-elf spu-unknown-elf -spu-linux spu-unknown-linux-gnu -avr32 avr32-unknown-none -avr32-linux avr32-unknown-linux-gnu -xc16x xc16x-unknown-none -xc16x-elf xc16x-unknown-elf -sde-elf mipsisa32-sde-elf -mips-sde-elf mips-sde-elf -score score-unknown-elf -score-elf score-unknown-elf -sh5el-elf sh5le-unknown-elf -sh5el-netbsd sh5le-unknown-netbsd -fido-elf fido-unknown-elf -fido fido-unknown-none -xtensa-elf xtensa-unknown-elf -xtensa-linux xtensa-unknown-linux-gnu -xtensa_dc232b-linux xtensa_dc232b-unknown-linux-gnu -i386-drops1.0 i386-pc-drops1.0 -mep mep-unknown-elf -mep-elf mep-unknown-elf -mingw32ce arm-unknown-mingw32ce -arm-mingw32ce arm-unknown-mingw32ce diff --git a/package/gnuconfig/testsuite/config-sub.sh b/package/gnuconfig/testsuite/config-sub.sh deleted file mode 100644 index ab5d7ff66..000000000 --- a/package/gnuconfig/testsuite/config-sub.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# -# Copyright 2004, 2005 Free Software Foundation, Inc. -# Contributed by Ben Elliston <bje@gnu.org>. -# -# This test reads pairs from config-sub.data: an alias and its -# canonical triplet. The config.sub scripts is invoked and the test -# checks that the alias expands to the expected canonical triplet. - -verbose=false - -run_config_sub () -{ - rc=0 - while read alias canonical ; do - output=`sh ../config.sub $alias` - if test $output != $canonical ; then - echo "FAIL: $alias -> $output, but expected $canonical" - rc=1 - else - $verbose && echo "PASS: $alias" - fi - done < config-sub.data - return $rc -} - -run_config_sub -rc=$? -if test $rc -eq 0 ; then - $verbose || echo "PASS: config.sub checks" -else - test $rc -eq 1 && echo "Unexpected failures." -fi - -exit $rc diff --git a/package/gnuconfig/testsuite/uname.in b/package/gnuconfig/testsuite/uname.in deleted file mode 100755 index d44d15f04..000000000 --- a/package/gnuconfig/testsuite/uname.in +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -# uname(1) simulator, inspired by Pavel Roskin. - -[ $# -ne 1 ] && exec sh $0 -s -[ $1 = -m ] && echo "@MACHINE@" && exit 0 -[ $1 = -r ] && echo "@RELEASE@" && exit 0 -[ $1 = -s ] && echo "@SYSTEM@" && exit 0 -[ $1 = -v ] && echo "@VERSION@" && exit 0 -[ $1 = -p ] && echo "Pentium III(TM)-ISA/PCI" |