From: Ben Pfaff Date: Sun, 10 Oct 2010 03:58:18 +0000 (-0700) Subject: tests: Remove files that are no longer used. X-Git-Tag: v0.7.6~70 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0554910ce3b47c6feb150c75fa376bfdfa8818d;p=pspp-builds.git tests: Remove files that are no longer used. --- diff --git a/tests/command/get-data-gnm.sh b/tests/command/get-data-gnm.sh deleted file mode 100755 index 08cad6a3..00000000 --- a/tests/command/get-data-gnm.sh +++ /dev/null @@ -1,211 +0,0 @@ -#!/bin/sh - -# This program tests that pspp can read Gnumeric files - -TEMPDIR=/tmp/pspp-tst-$$ -TESTFILE=$TEMPDIR/`basename $0`.sps - -# ensure that top_srcdir and top_builddir are absolute -if [ -z "$top_srcdir" ] ; then top_srcdir=. ; fi -if [ -z "$top_builddir" ] ; then top_builddir=. ; fi -top_srcdir=`cd $top_srcdir; pwd` -top_builddir=`cd $top_builddir; pwd` - -PSPP=$top_builddir/src/ui/terminal/pspp$EXEEXT - -STAT_CONFIG_PATH=$top_srcdir/config -export STAT_CONFIG_PATH - -LANG=C -export LANG - - -cleanup() -{ - if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then - echo "NOT cleaning $TEMPDIR" - return ; - fi - cd / - rm -rf $TEMPDIR -} - - -fail() -{ - echo $activity - echo FAILED - cleanup; - exit 1; -} - - -no_result() -{ - echo $activity - echo NO RESULT; - cleanup; - exit 2; -} - -pass() -{ - cleanup; - exit 0; -} - -mkdir -p $TEMPDIR - -cd $TEMPDIR - -activity="zip the gnm file and place it in the test directory" -gzip -c $top_srcdir/tests/Book1.gnm.unzipped > $TEMPDIR/Book1.gnumeric -if [ $? -ne 0 ] ; then no_result ; fi - -activity="create program 1" -cat > $TESTFILE < $TESTFILE < /dev/null -if [ $? -ne 0 ] ; then fail ; fi - -activity="compare output 2" -diff -c $TEMPDIR/pspp.csv - < a.data < b.data < test1.pspp < test2.pspp < test3.pspp < test4.pspp < test5.pspp <