pspp-builds.git
13 years agotests: Convert random distribution tests to Autotest framework.
Ben Pfaff [Tue, 12 Oct 2010 05:24:03 +0000 (22:24 -0700)]
tests: Convert random distribution tests to Autotest framework.

13 years agooutput: Convert paper size 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.

13 years agoInitial implementation of the Kruskal-Wallis test.
John Darrington [Mon, 11 Oct 2010 18:02:54 +0000 (20:02 +0200)]
Initial implementation of the Kruskal-Wallis test.

13 years agoUse conventional search for gsl if pkg-config fails
John Darrington [Sat, 9 Oct 2010 19:12:42 +0000 (21:12 +0200)]
Use conventional search for gsl if pkg-config fails

13 years agoUse cast macros
John Darrington [Sat, 9 Oct 2010 19:07:48 +0000 (21:07 +0200)]
Use cast macros

13 years agoRemove some duplicated #includes
John Darrington [Sat, 9 Oct 2010 14:20:11 +0000 (16:20 +0200)]
Remove some duplicated #includes

13 years agoNPAR TESTS: Implement parser for kruskal wallis test
John Darrington [Sat, 9 Oct 2010 10:56:45 +0000 (12:56 +0200)]
NPAR TESTS: Implement parser for kruskal wallis test

13 years agoNPAR TESTS: Add framework for n sample independent variable tests.
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.

13 years agoNPAR TESTS: reformat and use cast macros
John Darrington [Sat, 9 Oct 2010 10:46:45 +0000 (12:46 +0200)]
NPAR TESTS: reformat and use cast macros

13 years agotests: Fix typo in "write to same system file being read" test.
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.

13 years agosparse-xarray: Convert tests to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 05:18:10 +0000 (22:18 -0700)]
sparse-xarray: Convert tests to Autotest framework.

13 years agodatasheet: Convert tests to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 05:16:44 +0000 (22:16 -0700)]
datasheet: Convert tests to Autotest framework.

13 years agotests: Remove some files that are no longer used.
Ben Pfaff [Mon, 11 Oct 2010 04:40:18 +0000 (21:40 -0700)]
tests: Remove some files that are no longer used.

13 years agotests: Convert tests for SAVE /KEEP=ALL to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 04:39:45 +0000 (21:39 -0700)]
tests: Convert tests for SAVE /KEEP=ALL to Autotest framework.

13 years agoVALUE LABELS: Convert tests to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 04:34:23 +0000 (21:34 -0700)]
VALUE LABELS: Convert tests to Autotest framework.

13 years agotests: Convert tests for unwritable output dirs 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.

13 years agoTEMPORARY: Convert test to Autotest framework.
Ben Pfaff [Mon, 11 Oct 2010 04:21:35 +0000 (21:21 -0700)]
TEMPORARY: Convert test to Autotest framework.

13 years agopspp: Get rid of clean_up() function now that it has only one caller.
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.

13 years agotests: Convert tests for signal handling to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 21:19:28 +0000 (14:19 -0700)]
tests: Convert tests for signal handling to Autotest framework.

13 years agopspp: Don't attempt fancy clean-up upon receiving a fatal signal.
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.

13 years agotests: Convert test for #! support to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 21:09:06 +0000 (14:09 -0700)]
tests: Convert test for #! support to Autotest framework.

13 years agotests: Convert test for overwriting a special file 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.

13 years agotests: Convert tests for overwriting files 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.

13 years agotests: Convert multipass.sh test to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 20:15:58 +0000 (13:15 -0700)]
tests: Convert multipass.sh test to Autotest framework.

13 years agotests: Convert expression parsing 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.

13 years agoq2c: Convert test to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 20:01:28 +0000 (13:01 -0700)]
q2c: Convert test to Autotest framework.

13 years agotests: Convert test for UNIFORM expression function 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.

13 years agoINPUT PROGRAM: Convert tests to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 19:56:59 +0000 (12:56 -0700)]
INPUT PROGRAM: Convert tests to Autotest framework.

13 years agoCOMMENT: Convert test to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 19:56:24 +0000 (12:56 -0700)]
COMMENT: Convert test to Autotest framework.

13 years agotests: Convert a test for crash on invalid input 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.

13 years agotests: Convert test of compressed system files 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.

13 years agoGET: Convert some more tests to Autotest.
Ben Pfaff [Sun, 10 Oct 2010 04:39:43 +0000 (21:39 -0700)]
GET: Convert some more tests to Autotest.

13 years agoSAVE: Convert test for non-empty case map to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 04:29:54 +0000 (21:29 -0700)]
SAVE: Convert test for non-empty case map to Autotest framework.

13 years agoEXAMINE: Convert some more tests 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.

13 years agotests: Remove files that are no longer used.
Ben Pfaff [Sun, 10 Oct 2010 03:58:18 +0000 (20:58 -0700)]
tests: Remove files that are no longer used.

13 years agotests: Convert very long strings tests to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 03:57:18 +0000 (20:57 -0700)]
tests: Convert very long strings tests to Autotest framework.

13 years agoWEIGHT: Convert test to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 00:38:14 +0000 (17:38 -0700)]
WEIGHT: Convert test to Autotest framework.

13 years agoVECTOR: Convert tests to Autotest framework.
Ben Pfaff [Sun, 10 Oct 2010 00:28:54 +0000 (17:28 -0700)]
VECTOR: Convert tests to Autotest framework.

13 years agotests: Convert variable display 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.

13 years agoUSE: Convert tests to Autotest framework.
Ben Pfaff [Sat, 9 Oct 2010 13:57:19 +0000 (06:57 -0700)]
USE: Convert tests to Autotest framework.

13 years agoperl-module: Make perl_module_tarball rule quieter.
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.

13 years agoUDPATE: Convert tests to Autotest framework.
Ben Pfaff [Sat, 9 Oct 2010 13:54:46 +0000 (06:54 -0700)]
UDPATE: Convert tests to Autotest framework.

13 years agoPerl Module: Add prototypes keyword to XS definition
John Darrington [Sat, 9 Oct 2010 07:51:01 +0000 (09:51 +0200)]
Perl Module: Add prototypes keyword to XS definition

13 years agoEleminate unnecessary variables
John Darrington [Fri, 8 Oct 2010 17:51:45 +0000 (19:51 +0200)]
Eleminate unnecessary variables

13 years agoChange identifiers for consistency with other commands
John Darrington [Fri, 8 Oct 2010 17:45:49 +0000 (19:45 +0200)]
Change identifiers for consistency with other commands

13 years agoConsolidate translatable strings
John Darrington [Fri, 8 Oct 2010 09:15:50 +0000 (11:15 +0200)]
Consolidate translatable strings

13 years agoReplace npar.q with npar.c
John Darrington [Fri, 8 Oct 2010 09:12:04 +0000 (11:12 +0200)]
Replace npar.q with npar.c

13 years agoperl-module: Fix build race.
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.

13 years agotests: Distribute testsuite.at and loosen its dependencies.
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.

13 years agoperl-module: Use ABSTRACT instead of ABSTRACT_FROM in Makefile.PL.
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

13 years agotests: Convert tab handling test to Autotest framework.
Ben Pfaff [Wed, 6 Oct 2010 04:59:17 +0000 (21:59 -0700)]
tests: Convert tab handling test to Autotest framework.

13 years agoEXAMINE: Convert another test to Autotest framework.
Ben Pfaff [Wed, 6 Oct 2010 03:39:53 +0000 (20:39 -0700)]
EXAMINE: Convert another test to Autotest framework.

13 years agoT-TEST: Convert tests to Autotest framework.
Ben Pfaff [Tue, 5 Oct 2010 05:10:48 +0000 (22:10 -0700)]
T-TEST: Convert tests to Autotest framework.

13 years agoSPLIT FILE: Convert test to Autotest framework.
Ben Pfaff [Tue, 5 Oct 2010 04:33:03 +0000 (21:33 -0700)]
SPLIT FILE: Convert test to Autotest framework.

13 years agoSYSFILE INFO: 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.

13 years agotests: Remove tests/command/sysfiles-old.sh from list of tests.
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.

13 years agotests: Convert system file tests to Autotest framework.
Ben Pfaff [Tue, 5 Oct 2010 00:33:55 +0000 (17:33 -0700)]
tests: Convert system file tests to Autotest framework.

13 years agoSORT CASES: Convert tests to Autotest framework.
Ben Pfaff [Tue, 5 Oct 2010 00:23:28 +0000 (17:23 -0700)]
SORT CASES: Convert tests to Autotest framework.

13 years agoSAMPLE: Convert test to Autotest framework.
Ben Pfaff [Mon, 4 Oct 2010 22:27:36 +0000 (15:27 -0700)]
SAMPLE: Convert test to Autotest framework.

13 years agoROC: Convert tests to Autotest framework.
Ben Pfaff [Mon, 4 Oct 2010 22:08:29 +0000 (15:08 -0700)]
ROC: Convert tests to Autotest framework.

13 years agoRELIABILITY: Convert tests to Autotest framework.
Ben Pfaff [Mon, 4 Oct 2010 21:59:48 +0000 (14:59 -0700)]
RELIABILITY: Convert tests to Autotest framework.

13 years agotests: Convert REGRESSION tests to Autotest framework.
Ben Pfaff [Mon, 4 Oct 2010 19:49:05 +0000 (12:49 -0700)]
tests: Convert REGRESSION tests to Autotest framework.

13 years agoRENAME VARIABLES: Convert tests to Autotest framework.
Ben Pfaff [Mon, 4 Oct 2010 19:38:06 +0000 (12:38 -0700)]
RENAME VARIABLES: Convert tests to Autotest framework.

13 years agoFix bug in autorecode - strings vs. /group
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.

13 years agoWorkaround for gettext deficiencies
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

13 years agoRANK: Convert tests to Autotest framework.
Ben Pfaff [Mon, 4 Oct 2010 18:25:25 +0000 (11:25 -0700)]
RANK: Convert tests to Autotest framework.

13 years agopspp: Fix crash passing the name of a nonexistent file on the command line.
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.

13 years agopspp: Make style slightly more like the rest of the program.
Ben Pfaff [Mon, 4 Oct 2010 03:35:33 +0000 (20:35 -0700)]
pspp: Make style slightly more like the rest of the program.

13 years agoConvert PRINT and WRITE tests to Autotest framework.
Ben Pfaff [Sun, 3 Oct 2010 22:45:44 +0000 (15:45 -0700)]
Convert PRINT and WRITE tests to Autotest framework.

13 years agoPERMISSIONS: Convert test to Autotest framework.
Ben Pfaff [Sun, 3 Oct 2010 15:06:50 +0000 (08:06 -0700)]
PERMISSIONS: Convert test to Autotest framework.

13 years agoNPAR TESTS: Convert SIGN 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.

13 years agoNPAR TESTS: Convert WILCOXON tests to Autotest framework.
Ben Pfaff [Sun, 3 Oct 2010 12:41:05 +0000 (05:41 -0700)]
NPAR TESTS: Convert WILCOXON tests to Autotest framework.

13 years agoNPAR TESTS: Convert CHISQUARE 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.

13 years agoUpdate generated HTML to conform to W3C standards.
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

13 years agoAdded gettext markup to some strings which required it
John Darrington [Sun, 3 Oct 2010 12:11:01 +0000 (14:11 +0200)]
Added gettext markup to some strings which required it

13 years agoUndo inappropriate quote substitution in generated HTML.
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.

13 years agoConsolidate translatable strings
John Darrington [Sun, 3 Oct 2010 11:16:36 +0000 (13:16 +0200)]
Consolidate translatable strings

13 years agoRemove erroneous CONST_CAST
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.

13 years agoConstness
John Darrington [Sun, 3 Oct 2010 10:37:30 +0000 (12:37 +0200)]
Constness

13 years agoFix memory leaks in ROC command
John Darrington [Sun, 3 Oct 2010 10:25:00 +0000 (12:25 +0200)]
Fix memory leaks in ROC command

13 years agoAdd comments informing the caller about side effects
John Darrington [Sun, 3 Oct 2010 10:23:18 +0000 (12:23 +0200)]
Add comments informing the caller about side effects

13 years agoConsistently use the return value from case_ref.
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.

13 years agoNPAR TESTS: Convert BINOMAL tests to Autotest framework.
Ben Pfaff [Sat, 2 Oct 2010 22:01:54 +0000 (15:01 -0700)]
NPAR TESTS: Convert BINOMAL tests to Autotest framework.

13 years agoN OF CASES: Convert test to Autotest framework.
Ben Pfaff [Sat, 2 Oct 2010 21:32:14 +0000 (14:32 -0700)]
N OF CASES: Convert test to Autotest framework.

13 years agotests: Convert no_case_size.sh 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.

13 years agoMISSING VALUES: Convert test to Autotest framework.
Ben Pfaff [Sat, 2 Oct 2010 20:51:44 +0000 (13:51 -0700)]
MISSING VALUES: Convert test to Autotest framework.

13 years agoMATCH FILES: Convert tests to Autotest framework.
Ben Pfaff [Sat, 2 Oct 2010 20:42:33 +0000 (13:42 -0700)]
MATCH FILES: Convert tests to Autotest framework.

13 years agotests: Convert longvar.sh test to Autotest framework.
Ben Pfaff [Sat, 2 Oct 2010 20:03:28 +0000 (13:03 -0700)]
tests: Convert longvar.sh test to Autotest framework.

13 years agopspp: Avoid printing multiple messages for a single signal caused by a bug.
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.

13 years agoLOOP: Convert tests to Autotest framework.
Ben Pfaff [Sat, 2 Oct 2010 17:50:32 +0000 (10:50 -0700)]
LOOP: Convert tests to Autotest framework.

13 years agopspp: Make a signal that indicates a bug re-raise that signal to exit.
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.

13 years agoen_GB.po: translate quotes to UTF characters
John Darrington [Sat, 2 Oct 2010 14:29:25 +0000 (16:29 +0200)]
en_GB.po: translate quotes to UTF characters

13 years agoUse macros from cast.h instead of literal casts
John Darrington [Sat, 2 Oct 2010 13:59:11 +0000 (15:59 +0200)]
Use macros from cast.h instead of literal casts

13 years agoFix memory leak in LIST command.
John Darrington [Fri, 1 Oct 2010 18:17:06 +0000 (20:17 +0200)]
Fix memory leak in LIST command.

13 years agoFix memory leak in casegrouper. Closes bug #30764
John Darrington [Thu, 30 Sep 2010 19:49:34 +0000 (21:49 +0200)]
Fix memory leak in casegrouper.  Closes bug #30764

13 years agoFix memory leak in sweep.c
John Darrington [Thu, 30 Sep 2010 08:59:05 +0000 (10:59 +0200)]
Fix memory leak in sweep.c

13 years agoFix memory leak in output rendering
John Darrington [Thu, 30 Sep 2010 08:51:49 +0000 (10:51 +0200)]
Fix memory leak in output rendering

13 years agotests: Remove PG_CONFIG from TESTS_ENVIRONMENT.
Ben Pfaff [Thu, 30 Sep 2010 04:44:36 +0000 (21:44 -0700)]
tests: Remove PG_CONFIG from TESTS_ENVIRONMENT.

This is no longer needed now that the PostgreSQL tests have been converted
to use Autotest.

13 years agoLIST: Convert tests to use Autotest.
Ben Pfaff [Thu, 30 Sep 2010 04:39:34 +0000 (21:39 -0700)]
LIST: Convert tests to use Autotest.

13 years agocasereader: Fix casereader_select() with BY argument greater than 1.
Ben Pfaff [Thu, 30 Sep 2010 04:31:43 +0000 (21:31 -0700)]
casereader: Fix casereader_select() with BY argument greater than 1.

This fixes the /CASES=BY subcommand on LIST.  The following commit will add
a test.