John Darrington [Sat, 23 Oct 2010 09:16:30 +0000 (11:16 +0200)]
Documentation for the Friedman test
John Darrington [Sat, 23 Oct 2010 09:00:15 +0000 (11:00 +0200)]
en_GB.po: Fix fuzzy translation
John Darrington [Sat, 23 Oct 2010 08:58:40 +0000 (10:58 +0200)]
First attempt at the Friedman test
John Darrington [Sat, 23 Oct 2010 08:56:14 +0000 (10:56 +0200)]
Whitespace changes only
John Darrington [Sat, 23 Oct 2010 08:54:48 +0000 (10:54 +0200)]
Remove redundant whitespace
John Darrington [Thu, 21 Oct 2010 20:01:34 +0000 (22:01 +0200)]
Fix memory deallocation bug
John Darrington [Thu, 21 Oct 2010 18:34:25 +0000 (20:34 +0200)]
Implemented the /RUNS subcommand for NPAR TESTS.
Ben Pfaff [Mon, 18 Oct 2010 03:31:02 +0000 (20:31 -0700)]
str: Remove unused functions.
Ben Pfaff [Sun, 17 Oct 2010 17:08:53 +0000 (10:08 -0700)]
format-parser: Fix parse_format_specifier() failure case.
When the current token is an identifier that takes the abstract syntax
of a format specifier, but its "name" part is not a valid format name,
parse_format_specifier() returned false but still consumed the token.
This is a potential issue for callers that want to report an error that
mentions the identifier, e.g. parse_primary(), although the current lexer
tends to retain the same identifier when the new token is not an
identifier.
John Darrington [Sun, 17 Oct 2010 20:30:10 +0000 (22:30 +0200)]
Update en_GB.po
John Darrington [Sun, 17 Oct 2010 20:12:48 +0000 (22:12 +0200)]
Fix typos in printed strings
John Darrington [Sun, 17 Oct 2010 14:55:43 +0000 (16:55 +0200)]
Update en_GB.po and remerge
John Darrington [Sun, 17 Oct 2010 14:50:47 +0000 (16:50 +0200)]
Fix test failures on T-TEST command.
The t-test command is documented to ignore cases
which are not in a valid group.
The new levene function does not have any awareness
of the group criteria. Therefore we must remove any
values which are not in a valid group.
John Darrington [Sun, 17 Oct 2010 12:03:41 +0000 (14:03 +0200)]
Re-implemented the levene calculation
Ben Pfaff [Sun, 17 Oct 2010 14:00:08 +0000 (07:00 -0700)]
po: Update Dutch translation from translation-project.org.
John Darrington [Sun, 17 Oct 2010 13:04:26 +0000 (15:04 +0200)]
Fixed bug in oneway /descriptives subcommand vs. weights.
The descriptives option was misinterpreting the weight
value when calculating max and min. This change fixes
the bug and adds a test to check for it.
Ben Pfaff [Sat, 16 Oct 2010 20:49:57 +0000 (13:49 -0700)]
Increment version number to 0.7.6 for translationproject.org.
Ben Pfaff [Sat, 16 Oct 2010 20:49:37 +0000 (13:49 -0700)]
doc: Always build ni.texi, tut.texi in source directory.
When the source and build directories are different, ni.texi and tut.texi
were being built in the build directory. This meant that, since
$(builddir)/doc is not in the TeX search path, but $(builddir) is (because
it is the working directory when TeX is invoked), the @include commands
that include ni.texi and tut.texi had to specify doc/ explicitly.
However, doing that broke the case where the source and build directories
were different but ni.texi or tut.texi were in the source directory (which
happens when building from a tarball or, similarly, running "make
distcheck"), because $(top_srcdir) is not in the TeX search path (only
$(top_srcdir)/doc is).
The easiest solution appears to be to always make sure that ni.texi and
tut.texi are in the source directory. Then they are always in the TeX
search path (as long as we drop the doc/ prefix) and everything should
work out OK.
Reported by Michel Boaventura <michel@michelboaventura.com>.
Ben Pfaff [Sat, 16 Oct 2010 20:02:18 +0000 (13:02 -0700)]
tests: Avoid reading $HOME/.pspprc inside the testsuite.
This solution was suggested by John Darrington.
Ben Pfaff [Sat, 16 Oct 2010 20:01:50 +0000 (13:01 -0700)]
tests: Put atlocal.in in a logical order.
This is intended to have no semantic change.
Ben Pfaff [Sat, 16 Oct 2010 19:09:23 +0000 (12:09 -0700)]
po: Update Spanish translation from translation-project.org.
John Darrington [Sat, 16 Oct 2010 10:44:49 +0000 (12:44 +0200)]
Include hash-functions.h instead of hash.h
John Darrington [Sat, 16 Oct 2010 10:41:44 +0000 (12:41 +0200)]
NPAR: use hmapx instead of hash.h
Ben Pfaff [Fri, 15 Oct 2010 05:20:08 +0000 (22:20 -0700)]
tests: Remove file and Makefile contents that are no longer necessary.
All of the tests have been converted to Autotest so this commit removes
variable assignments that are specific to the Automake TESTS-based
testsuite.
Ben Pfaff [Fri, 15 Oct 2010 05:17:02 +0000 (22:17 -0700)]
tests: Convert tests for binary and 360 data I/O to Autotest framework.
Ben Pfaff [Fri, 15 Oct 2010 04:15:37 +0000 (21:15 -0700)]
data-in: Convert tests for time input formats to Autotest framework.
Ben Pfaff [Fri, 15 Oct 2010 04:01:56 +0000 (21:01 -0700)]
data-out: Convert tests for numeric output formats to Autotest framework.
Ben Pfaff [Thu, 14 Oct 2010 03:59:45 +0000 (20:59 -0700)]
data-in: Convert tests for date formats to Autotest framework.
Ben Pfaff [Thu, 14 Oct 2010 03:26:42 +0000 (20:26 -0700)]
data-in: Convert test for numeric input formats to Autotest framework.
Ben Pfaff [Thu, 14 Oct 2010 01:48:14 +0000 (18:48 -0700)]
data-in: Convert test for MONTH format to Autotest framework.
Ben Pfaff [Thu, 14 Oct 2010 01:43:43 +0000 (18:43 -0700)]
data-in: Convert test for WKDAY format to Autotest framework.
Ben Pfaff [Thu, 14 Oct 2010 01:39:31 +0000 (18:39 -0700)]
data-in: Convert tests for binary and hexadecimal formats to Autotest.
Ben Pfaff [Thu, 14 Oct 2010 01:32:39 +0000 (18:32 -0700)]
data-in: Convert tests for N and Z formats to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 18:21:21 +0000 (11:21 -0700)]
tests: Fix "make dist" by correcting typo in EXTRA_DIST.
John Darrington [Wed, 13 Oct 2010 07:37:45 +0000 (09:37 +0200)]
Updated NEWS file
John Darrington [Wed, 13 Oct 2010 07:20:45 +0000 (09:20 +0200)]
Add some comments where needed
John Darrington [Wed, 13 Oct 2010 07:12:17 +0000 (09:12 +0200)]
Update Catalan translation from translation-project.org
John Darrington [Tue, 12 Oct 2010 17:50:10 +0000 (19:50 +0200)]
Avoid compiler warnings
Ben Pfaff [Wed, 13 Oct 2010 04:54:53 +0000 (21:54 -0700)]
data-out: Convert test for WKDAY format to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 04:50:47 +0000 (21:50 -0700)]
data-out: Convert test for time output formats to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 04:47:54 +0000 (21:47 -0700)]
data-out: Convert test for MONTH format to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 04:38:30 +0000 (21:38 -0700)]
format-guesser: Convert test to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 04:19:35 +0000 (21:19 -0700)]
float-format: Convert tests to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 03:49:50 +0000 (20:49 -0700)]
data-out: Convert tests for date formats to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 03:49:15 +0000 (20:49 -0700)]
data-out: Convert tests for binary and hex formats to Autotest framework.
Ben Pfaff [Wed, 13 Oct 2010 03:31:48 +0000 (20:31 -0700)]
data-in: Convert BCD input tests to Autotest framework.
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.