John Darrington [Tue, 12 Oct 2010 09:03:32 +0000 (11:03 +0200)]
Add documentation for the Kruskal-Wallis subcommand
John Darrington [Tue, 12 Oct 2010 08:22:07 +0000 (10:22 +0200)]
Fix memory leaks in Kruskal-Wallis test
John Darrington [Tue, 12 Oct 2010 08:09:51 +0000 (10:09 +0200)]
Added tests for the Kruskal Wallis test
Ben Pfaff [Tue, 12 Oct 2010 05:35:09 +0000 (22:35 -0700)]
tests: Convert test for vectors in expressions to Autotest framework.
Ben Pfaff [Tue, 12 Oct 2010 05:33:03 +0000 (22:33 -0700)]
tests: Convert test for variables in expressions to Autotest.
Ben Pfaff [Tue, 12 Oct 2010 05:30:27 +0000 (22:30 -0700)]
tests: Convert test for VALUELABEL expression function to Autotest.
Ben Pfaff [Tue, 12 Oct 2010 05:24:03 +0000 (22:24 -0700)]
tests: Convert random distribution tests to Autotest framework.
Ben Pfaff [Tue, 12 Oct 2010 03:25:09 +0000 (20:25 -0700)]
output: Convert paper size tests to Autotest framework.
John Darrington [Mon, 11 Oct 2010 18:02:54 +0000 (20:02 +0200)]
Initial implementation of the Kruskal-Wallis test.
John Darrington [Sat, 9 Oct 2010 19:12:42 +0000 (21:12 +0200)]
Use conventional search for gsl if pkg-config fails
John Darrington [Sat, 9 Oct 2010 19:07:48 +0000 (21:07 +0200)]
Use cast macros
John Darrington [Sat, 9 Oct 2010 14:20:11 +0000 (16:20 +0200)]
Remove some duplicated #includes
John Darrington [Sat, 9 Oct 2010 10:56:45 +0000 (12:56 +0200)]
NPAR TESTS: Implement parser for kruskal wallis test
John Darrington [Sat, 9 Oct 2010 10:51:50 +0000 (12:51 +0200)]
NPAR TESTS: Add framework for n sample independent variable tests.
Upcomming commits will rely on this functionaly.
John Darrington [Sat, 9 Oct 2010 10:46:45 +0000 (12:46 +0200)]
NPAR TESTS: reformat and use cast macros
Ben Pfaff [Mon, 11 Oct 2010 14:19:24 +0000 (07:19 -0700)]
tests: Fix typo in "write to same system file being read" test.
Ben Pfaff [Mon, 11 Oct 2010 05:18:10 +0000 (22:18 -0700)]
sparse-xarray: Convert tests to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 05:16:44 +0000 (22:16 -0700)]
datasheet: Convert tests to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 04:40:18 +0000 (21:40 -0700)]
tests: Remove some files that are no longer used.
Ben Pfaff [Mon, 11 Oct 2010 04:39:45 +0000 (21:39 -0700)]
tests: Convert tests for SAVE /KEEP=ALL to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 04:34:23 +0000 (21:34 -0700)]
VALUE LABELS: Convert tests to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 04:28:35 +0000 (21:28 -0700)]
tests: Convert tests for unwritable output dirs to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 04:21:35 +0000 (21:21 -0700)]
TEMPORARY: Convert test to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 04:15:19 +0000 (21:15 -0700)]
pspp: Get rid of clean_up() function now that it has only one caller.
Ben Pfaff [Sun, 10 Oct 2010 21:19:28 +0000 (14:19 -0700)]
tests: Convert tests for signal handling to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 04:13:21 +0000 (21:13 -0700)]
pspp: Don't attempt fancy clean-up upon receiving a fatal signal.
Otherwise PSPP often assert-fails on Control+C.
In the long run it is probably friendlier to return to the command prompt
upon Control+C, but simply deleting temporary files and exiting cleanly
is preferable to an assert-fail.
See bug #20626 for more information.
Ben Pfaff [Sun, 10 Oct 2010 21:09:06 +0000 (14:09 -0700)]
tests: Convert test for #! support to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 21:03:33 +0000 (14:03 -0700)]
tests: Convert test for overwriting a special file to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 20:59:07 +0000 (13:59 -0700)]
tests: Convert tests for overwriting files to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 20:15:58 +0000 (13:15 -0700)]
tests: Convert multipass.sh test to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 20:05:40 +0000 (13:05 -0700)]
tests: Convert expression parsing test to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 20:01:28 +0000 (13:01 -0700)]
q2c: Convert test to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 19:57:27 +0000 (12:57 -0700)]
tests: Convert test for UNIFORM expression function to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 19:56:59 +0000 (12:56 -0700)]
INPUT PROGRAM: Convert tests to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 19:56:24 +0000 (12:56 -0700)]
COMMENT: Convert test to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 19:55:45 +0000 (12:55 -0700)]
tests: Convert a test for crash on invalid input to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 16:49:29 +0000 (09:49 -0700)]
tests: Convert test of compressed system files to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 04:39:43 +0000 (21:39 -0700)]
GET: Convert some more tests to Autotest.
Ben Pfaff [Sun, 10 Oct 2010 04:29:54 +0000 (21:29 -0700)]
SAVE: Convert test for non-empty case map to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 04:12:33 +0000 (21:12 -0700)]
EXAMINE: Convert some more tests to Autotest framework.
I'm not really sure that big-input-2.sh was an EXAMINE bug. It could have
been a more generic bug. I wasn't able to quickly determine what its
original motivation was.
Ben Pfaff [Sun, 10 Oct 2010 03:58:18 +0000 (20:58 -0700)]
tests: Remove files that are no longer used.
Ben Pfaff [Sun, 10 Oct 2010 03:57:18 +0000 (20:57 -0700)]
tests: Convert very long strings tests to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 00:38:14 +0000 (17:38 -0700)]
WEIGHT: Convert test to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 00:28:54 +0000 (17:28 -0700)]
VECTOR: Convert tests to Autotest framework.
Ben Pfaff [Sat, 9 Oct 2010 14:03:57 +0000 (07:03 -0700)]
tests: Convert variable display tests to Autotest framework.
Ben Pfaff [Sat, 9 Oct 2010 13:57:19 +0000 (06:57 -0700)]
USE: Convert tests to Autotest framework.
Ben Pfaff [Sat, 9 Oct 2010 13:55:29 +0000 (06:55 -0700)]
perl-module: Make perl_module_tarball rule quieter.
This rule echoes what it is doing, so it seems to me that it was intended
to be silent.
Ben Pfaff [Sat, 9 Oct 2010 13:54:46 +0000 (06:54 -0700)]
UDPATE: Convert tests to Autotest framework.
John Darrington [Sat, 9 Oct 2010 07:51:01 +0000 (09:51 +0200)]
Perl Module: Add prototypes keyword to XS definition
John Darrington [Fri, 8 Oct 2010 17:51:45 +0000 (19:51 +0200)]
Eleminate unnecessary variables
John Darrington [Fri, 8 Oct 2010 17:45:49 +0000 (19:45 +0200)]
Change identifiers for consistency with other commands
John Darrington [Fri, 8 Oct 2010 09:15:50 +0000 (11:15 +0200)]
Consolidate translatable strings
John Darrington [Fri, 8 Oct 2010 09:12:04 +0000 (11:12 +0200)]
Replace npar.q with npar.c
Ben Pfaff [Sat, 9 Oct 2010 03:59:10 +0000 (20:59 -0700)]
perl-module: Fix build race.
perl_module_tarball invokes module-make in a submake. In turn, until now
module-make has depended on src/libpspp-core.la. But if a parallel build
is in progress, then the parent make is likely also building the same
library. Sometimes the race in linking this library causes build failures.
The ideal solution would be to avoid the submake. We could do this, by
giving the files in the build different names from those in the source
directory (e.g. distributing the files with .dist extensions, or copying
them into or out of a subdirectory).
This commit instead implements a minimal fix, by making the dependency on
src/libpspp-core.la part of the top-level perl_module_tarball target,
instead of part of the submake's module-make target.
With this commit, 10 consecutive test runs on my laptop completed
successfully. Without this commit, about 50% of nontrivial builds fail.
Ben Pfaff [Sat, 9 Oct 2010 03:24:14 +0000 (20:24 -0700)]
tests: Distribute testsuite.at and loosen its dependencies.
testsuite.at has to be distributed or "make" from a distributed tarball
will have to make it, which means that the system used for building needs
Autoconf installed and will need to write to the source directory.
testsuite.at cannot depend on the Makefile or it will have to be rebuilt
every time "configure" runs, which would also cause the problems mentioned
above.
Ben Pfaff [Sat, 9 Oct 2010 03:20:26 +0000 (20:20 -0700)]
perl-module: Use ABSTRACT instead of ABSTRACT_FROM in Makefile.PL.
This fixes the following warning from Perl:
WARNING: Setting ABSTRACT via file 'lib/PSPP.pm' failed
at /usr/share/perl/5.10/ExtUtils/MakeMaker.pm line 583
Ben Pfaff [Wed, 6 Oct 2010 04:59:17 +0000 (21:59 -0700)]
tests: Convert tab handling test to Autotest framework.
Ben Pfaff [Wed, 6 Oct 2010 03:39:53 +0000 (20:39 -0700)]
EXAMINE: Convert another test to Autotest framework.
Ben Pfaff [Tue, 5 Oct 2010 05:10:48 +0000 (22:10 -0700)]
T-TEST: Convert tests to Autotest framework.
Ben Pfaff [Tue, 5 Oct 2010 04:33:03 +0000 (21:33 -0700)]
SPLIT FILE: Convert test to Autotest framework.
Ben Pfaff [Tue, 5 Oct 2010 04:30:14 +0000 (21:30 -0700)]
SYSFILE INFO: Convert test to Autotest framework.
Ben Pfaff [Tue, 5 Oct 2010 04:28:50 +0000 (21:28 -0700)]
tests: Remove tests/command/sysfiles-old.sh from list of tests.
This file was deleted in a previous commit but it was still listed in
tests/automake.mk.
Ben Pfaff [Tue, 5 Oct 2010 00:33:55 +0000 (17:33 -0700)]
tests: Convert system file tests to Autotest framework.
Ben Pfaff [Tue, 5 Oct 2010 00:23:28 +0000 (17:23 -0700)]
SORT CASES: Convert tests to Autotest framework.
Ben Pfaff [Mon, 4 Oct 2010 22:27:36 +0000 (15:27 -0700)]
SAMPLE: Convert test to Autotest framework.
Ben Pfaff [Mon, 4 Oct 2010 22:08:29 +0000 (15:08 -0700)]
ROC: Convert tests to Autotest framework.
Ben Pfaff [Mon, 4 Oct 2010 21:59:48 +0000 (14:59 -0700)]
RELIABILITY: Convert tests to Autotest framework.
Ben Pfaff [Mon, 4 Oct 2010 19:49:05 +0000 (12:49 -0700)]
tests: Convert REGRESSION tests to Autotest framework.
Ben Pfaff [Mon, 4 Oct 2010 19:38:06 +0000 (12:38 -0700)]
RENAME VARIABLES: Convert tests to Autotest framework.
John Darrington [Mon, 4 Oct 2010 19:47:44 +0000 (21:47 +0200)]
Fix bug in autorecode - strings vs. /group
Fixed a bug which caused autorecode to crash when the /GROUP
subcommand was used concurrently with variables of different widths.
John Darrington [Mon, 4 Oct 2010 17:37:08 +0000 (19:37 +0200)]
Workaround for gettext deficiencies
xgettext doesn't have a --language=gtkbuilder option.
Instead, we've been (mis)using --language=glade which
has worked ok except that it doesn't extract labels
from the columns of GtkListStore items.
This change adds a pair of dummy widgets containing identical
label strings so that these strings will get entered into
the .pot file. Closes bug #31033
Ben Pfaff [Mon, 4 Oct 2010 18:25:25 +0000 (11:25 -0700)]
RANK: Convert tests to Autotest framework.
Ben Pfaff [Mon, 4 Oct 2010 03:36:33 +0000 (20:36 -0700)]
pspp: Fix crash passing the name of a nonexistent file on the command line.
Also adds a test.
Ben Pfaff [Mon, 4 Oct 2010 03:35:33 +0000 (20:35 -0700)]
pspp: Make style slightly more like the rest of the program.
Ben Pfaff [Sun, 3 Oct 2010 22:45:44 +0000 (15:45 -0700)]
Convert PRINT and WRITE tests to Autotest framework.
Ben Pfaff [Sun, 3 Oct 2010 15:06:50 +0000 (08:06 -0700)]
PERMISSIONS: Convert test to Autotest framework.
Ben Pfaff [Sun, 3 Oct 2010 12:42:58 +0000 (05:42 -0700)]
NPAR TESTS: Convert SIGN test to Autotest framework.
Ben Pfaff [Sun, 3 Oct 2010 12:41:05 +0000 (05:41 -0700)]
NPAR TESTS: Convert WILCOXON tests to Autotest framework.
Ben Pfaff [Sun, 3 Oct 2010 12:37:39 +0000 (05:37 -0700)]
NPAR TESTS: Convert CHISQUARE tests to Autotest framework.
John Darrington [Sun, 3 Oct 2010 12:41:54 +0000 (14:41 +0200)]
Update generated HTML to conform to W3C standards.
Changed the html output driver so that the generated
HTML is accepted by http://validator.w3.org
John Darrington [Sun, 3 Oct 2010 12:11:01 +0000 (14:11 +0200)]
Added gettext markup to some strings which required it
John Darrington [Sun, 3 Oct 2010 11:56:02 +0000 (13:56 +0200)]
Undo inappropriate quote substitution in generated HTML.
Commit
173d1687aea88e0e5e1b1d8615ed68ebefb15d08 erroneously
substituted these quotes in html fragments.
John Darrington [Sun, 3 Oct 2010 11:16:36 +0000 (13:16 +0200)]
Consolidate translatable strings
John Darrington [Sun, 3 Oct 2010 10:45:06 +0000 (12:45 +0200)]
Remove erroneous CONST_CAST
Commit
97f9b8ad137e333af9b3c767556d28dfda93a461 attempted to use CONST_CAST to
avoid a compiler warning about constness. However it applies at the wrong
level of deference. This change undoes that particular problem and reverts
to the original cast.
John Darrington [Sun, 3 Oct 2010 10:37:30 +0000 (12:37 +0200)]
Constness
John Darrington [Sun, 3 Oct 2010 10:25:00 +0000 (12:25 +0200)]
Fix memory leaks in ROC command
John Darrington [Sun, 3 Oct 2010 10:23:18 +0000 (12:23 +0200)]
Add comments informing the caller about side effects
John Darrington [Sun, 3 Oct 2010 08:41:36 +0000 (10:41 +0200)]
Consistently use the return value from case_ref.
This makes debugging easier.
Ben Pfaff [Sat, 2 Oct 2010 22:01:54 +0000 (15:01 -0700)]
NPAR TESTS: Convert BINOMAL tests to Autotest framework.
Ben Pfaff [Sat, 2 Oct 2010 21:32:14 +0000 (14:32 -0700)]
N OF CASES: Convert test to Autotest framework.
Ben Pfaff [Sat, 2 Oct 2010 21:29:37 +0000 (14:29 -0700)]
tests: Convert no_case_size.sh test to Autotest framework.
Ben Pfaff [Sat, 2 Oct 2010 20:51:44 +0000 (13:51 -0700)]
MISSING VALUES: Convert test to Autotest framework.
Ben Pfaff [Sat, 2 Oct 2010 20:42:33 +0000 (13:42 -0700)]
MATCH FILES: Convert tests to Autotest framework.
Ben Pfaff [Sat, 2 Oct 2010 20:03:28 +0000 (13:03 -0700)]
tests: Convert longvar.sh test to Autotest framework.
Ben Pfaff [Sat, 2 Oct 2010 19:01:50 +0000 (12:01 -0700)]
pspp: Avoid printing multiple messages for a single signal caused by a bug.
When I tested commit
38f3d1b22 "pspp: Make a signal that indicates a bug
re-raise that signal to exit" I didn't read the output carefully enough.
John Darrington pointed out the problem.
Ben Pfaff [Sat, 2 Oct 2010 17:50:32 +0000 (10:50 -0700)]
LOOP: Convert tests to Autotest framework.
Ben Pfaff [Sat, 2 Oct 2010 17:21:21 +0000 (10:21 -0700)]
pspp: Make a signal that indicates a bug re-raise that signal to exit.
John Darrington pointed out that exiting with EXIT_FAILURE isn't nearly
emphatic enough here.
John Darrington [Sat, 2 Oct 2010 14:29:25 +0000 (16:29 +0200)]
en_GB.po: translate quotes to UTF characters
John Darrington [Sat, 2 Oct 2010 13:59:11 +0000 (15:59 +0200)]
Use macros from cast.h instead of literal casts
John Darrington [Fri, 1 Oct 2010 18:17:06 +0000 (20:17 +0200)]
Fix memory leak in LIST command.