From 4b1bad1b8eebc79d2e05ab4f023fc269d577473b Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 31 Oct 2004 08:17:08 +0000 Subject: [PATCH] Updated the documentation and fixed a couple of the test scripts --- doc/not-implemented.texi | 162 ++++++++++++++++++++++------------ doc/statistics.texi | 3 + tests/ChangeLog | 5 ++ tests/Makefile.am | 5 +- tests/bugs/computebug.sh | 12 +-- tests/bugs/recode-copy-bug.sh | 17 ++-- 6 files changed, 133 insertions(+), 71 deletions(-) diff --git a/doc/not-implemented.texi b/doc/not-implemented.texi index cd668d60..d24308b4 100644 --- a/doc/not-implemented.texi +++ b/doc/not-implemented.texi @@ -7,69 +7,115 @@ implemented. The following transformations and utilities are not yet implemented, but they will be supported in a later release. -@itemize @bullet -@item -ADD FILES -@item -ANOVA -@item -DEFINE -@item -FILE TYPE -@item -GET SAS -@item -GET TRANSLATE -@item -MCONVERT -@item -PLOT -@item -PRESERVE -@item -PROCEDURE OUTPUT -@item -RESTORE -@item -SAVE TRANSLATE -@item -UPDATE -@end itemize +@table @asis +@item AGGREGATE +Save an aggregated file + +@item ALSCAL +Multidimensional scaling + +@item ANOVA +Factorial analysis of variance + +@item AUTORECODE +Recodes variables + +@item BOX-JENKINS +Time series analysis + +@item CLUSTER +Agglomerative hierarchical clustering + +@item CORRELATIONS +Pearson correlations + +@item DISCRIMINANT +Discriminant analysis + +@item FACTOR +Factor analysis + +@item HILOGLINEAR +Hierarchical loglinear analysis + +@item LOGLINEAR +Loglinear analysis + +@item MANOVA +General linear analysis + +@item MEANS +Subpopulation means + +@item MULT RESPONSE +Multiple response tables + +@item NONPAR CORR +Nonparametric correlations + +@item NPAR TESTS +Nonparametric tests + +@item PARTIAL CORR +Partial correlations + +@item PLOT +Scattergram, regression & contour plots + +@item PROBIT +Fitting probit & logit models + +@item PROXIMITIES +Distance, dissimilarity & similarity matrices +@item QUICK CLUSTER +Efficient clustering for large numbers of cases + +@item REGRESSION +Multiple regression analysis + +@item RELIABILITY +Item analysis + +@item SURVIVAL +Life tables anlysis + +@end table The following transformations and utilities are not implemented. There are no plans to support them in future releases. Contributions to implement them will still be accepted. @itemize @bullet -@item -EDIT -@item -GET DATABASE -@item -GET OSIRIS -@item -GET SCSS -@item -GSET -@item -HELP -@item -INFO -@item -INPUT MATRIX -@item -KEYED DATA LIST -@item -NUMBERED and UNNUMBERED -@item -OPTIONS -@item -REVIEW -@item -SAVE SCSS -@item -SPSS MANAGER -@item -STATISTICS + +@item EDIT + +@item GET DATABASE + +@item GET OSIRIS + +@item GET SCSS + +@item GSET + +@item HELP + +@item INFO + +@item INPUT MATRIX + +@item KEYED DATA LIST + +@item NUMBERED and UNNUMBERED + +@item OPTIONS + +@item REVIEW + +@item SAVE SCSS + +@item SPSS MANAGER + +@item STATISTICS @end itemize + @setfilename ignored diff --git a/doc/statistics.texi b/doc/statistics.texi index 29e8f064..e14d2514 100644 --- a/doc/statistics.texi +++ b/doc/statistics.texi @@ -4,6 +4,9 @@ This chapter documents the statistical procedures that PSPP supports so far. +@c If you add any new commands, then don't forget to remove the entry in +@c not-implemented.texi + @menu * DESCRIPTIVES:: Descriptive statistics. * FREQUENCIES:: Frequency tables. diff --git a/tests/ChangeLog b/tests/ChangeLog index ce99b90f..c702df87 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +Sun Oct 31 16:08:47 WST 2004 John Darrington + + * bugs/recode-copy-bug.sh bugs/computebug.sh Fixed problem which + caused make distcheck to not know where some critical files were. + Mon May 31 21:49:19 2004 Ben Pfaff * bugs/t-test-with-temp.sh: Use $SUPERVISOR. diff --git a/tests/Makefile.am b/tests/Makefile.am index 11904772..f651aa43 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -65,7 +65,10 @@ noinst_DATA = sort.data sort.data: gengarbage$(EXTEXT) ./gengarbage | head -1000 > $@ -EXTRA_DIST = $(TESTS) weighting.data data-list.data list.data +EXTRA_DIST = $(TESTS) weighting.data data-list.data list.data \ + bugs/computebug.stat bugs/computebug.out \ + bugs/recode-copy-bug-1.stat bugs/recode-copy-bug-2.stat \ + bugs/recode-copy-bug-1.out bugs/recode-copy-bug-2.out DISTCLEANFILES = *.save sort.data pspp.* foo* msgs *.actual diff --git a/tests/bugs/computebug.sh b/tests/bugs/computebug.sh index ecc6cb4e..6340d521 100755 --- a/tests/bugs/computebug.sh +++ b/tests/bugs/computebug.sh @@ -1,6 +1,6 @@ #!/bin/sh -# This program tests .... +# This program tests for a bug in the `compute' command TEMPDIR=/tmp/pspp-tst-$$ @@ -42,21 +42,23 @@ pass() } mkdir -p $TEMPDIR -cp $top_srcdir/tests/bugs/computebug.stat $TEMPDIR -cd $TEMPDIR +activity="copy file" +cp $top_srcdir/tests/bugs/computebug.stat $TEMPDIR +if [ $? -ne 0 ] ; then no_result ; fi +activity="chdir" +cd $TEMPDIR if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $top_srcdir/src/pspp -o raw-ascii $TEMPDIR/computebug.stat +$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/computebug.stat if [ $? -ne 0 ] ; then no_result ; fi activity="compare output" diff -b -B -w $TEMPDIR/pspp.list $top_srcdir/tests/bugs/computebug.out - if [ $? -ne 0 ] ; then fail ; fi pass; diff --git a/tests/bugs/recode-copy-bug.sh b/tests/bugs/recode-copy-bug.sh index 94d92642..0d9ed171 100755 --- a/tests/bugs/recode-copy-bug.sh +++ b/tests/bugs/recode-copy-bug.sh @@ -42,34 +42,37 @@ pass() } mkdir -p $TEMPDIR + +activity="copy template 1" cp $top_srcdir/tests/bugs/recode-copy-bug-1.stat $TEMPDIR -cp $top_srcdir/tests/bugs/recode-copy-bug-2.stat $TEMPDIR -cd $TEMPDIR +if [ $? -ne 0 ] ; then no_result ; fi +activity="copy template 2" +cp $top_srcdir/tests/bugs/recode-copy-bug-2.stat $TEMPDIR +if [ $? -ne 0 ] ; then no_result ; fi +activity="chdir" +cd $TEMPDIR if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $top_srcdir/src/pspp -o raw-ascii $TEMPDIR/recode-copy-bug-1.stat +$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/recode-copy-bug-1.stat if [ $? -ne 0 ] ; then no_result ; fi activity="compare output" diff -b -B -w $TEMPDIR/pspp.list $top_srcdir/tests/bugs/recode-copy-bug-1.out - if [ $? -ne 0 ] ; then fail ; fi activity="run program" -$SUPERVISOR $top_srcdir/src/pspp -o raw-ascii $TEMPDIR/recode-copy-bug-2.stat +$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/recode-copy-bug-2.stat if [ $? -ne 0 ] ; then no_result ; fi activity="compare output" diff -b -B -w $TEMPDIR/pspp.list $top_srcdir/tests/bugs/recode-copy-bug-2.out - if [ $? -ne 0 ] ; then fail ; fi - pass; -- 2.30.2