1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-05 09:17:58 +02:00
Commit Graph

30 Commits

Author SHA1 Message Date
Jim Meyering 9c88531fb0 Put CU_TEST_NAME in the environment for each test run by "make check".
* Transform all Makefile.am files so that when running "make check",
CU_TEST_NAME is set to the name of the test.  This is so that when I
run valgrind-enabled (--log-file-qualifier=CU_TEST_NAME) "make check"
on the entire package it is more convenient to map a leak or error
found in a valgrind log file back to the offending test.
Use this command:
(echo tests/Makefile.am.in; find tests -name Makefile.am) \
 |xargs perl -pi -e '/^(\s*)PATH=...VG_PATH_PREFIX/ and ' \
   -e 'print $1,q|CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst |,"\\\n"'
2007-01-13 11:32:19 +01:00
Paul Eggert ec95137cc3 Remove some arbitrary restrictions on size fields,
so that commands like "sort -k 18446744073709551616" no longer fail merely
because 18446744073709551616 doesn't fit in uintmax_t.  The trick is that
these fields can all be treated as effectively infinity;  their exact
values don't matter, since no internal buffer can be that long.
* src/join.c (string_to_join_field): Verify that SIZE_MAX <= ULONG_MAX
if the code assumes this.  Silently truncate too-large values to SIZE_MAX,
as the remaining code will do the right thing in this case.
* src/sort.c (parse_field_count): Likewise.
* src/uniq.c (size_opt, main): Likewise.
* tests/join/Test.pm (bigfield): New test.
* tests/sort/Test.pm (bigfield): New test.
* tests/uniq/Test.pm (121): New test.
Signed-off-by: Jim Meyering <jim@meyering.net>
2006-12-13 22:03:54 +01:00
Jim Meyering 9b3bb934bc Some of my 2006-07-03 changes to tests/*/Makefile.am were being
backed out due to updates provoked by the copyright changes.
* tests/Makefile.am.in (PATH): Prepend $(VG_PATH_PREFIX), so that
it propagates to the derived Makefile.am files.
($(srcdir)/Makefile.am): Mark generated .am files as read-only,
so we don't mistakenly edit them again.
* tests/cut/Makefile.am: Regenerate.
* tests/head/Makefile.am: Likewise.
* tests/join/Makefile.am: Likewise.
* tests/pr/Makefile.am: Likewise.
* tests/sort/Makefile.am: Likewise.
* tests/tac/Makefile.am: Likewise.
* tests/tail/Makefile.am: Likewise.
* tests/test/Makefile.am: Likewise.
* tests/tr/Makefile.am: Likewise.
* tests/uniq/Makefile.am: Likewise.
* tests/wc/Makefile.am: Likewise.
2006-08-19 16:02:11 +00:00
Paul Eggert 218fa5c61b Add/fix copyright notices and adjust to latest GNU FDL. 2006-08-17 19:58:17 +00:00
Jim Meyering ae87c86b4a * tests/Makefile.am, tests/*/Makefile.am: (TESTS_ENVIRONMENT):
Add $VG_PATH_PREFIX as a prefix to $PATH
2006-07-03 12:55:25 +00:00
Jim Meyering 7db2ac9eaf regenerate 2004-05-31 12:18:24 +00:00
Jim Meyering 8651917856 . 2004-03-10 17:40:00 +00:00
Jim Meyering b7de4858ed regenerate from patched Makefile.am.in 2004-02-11 15:33:38 +00:00
Jim Meyering 09a7735220 regenerate 2003-10-18 06:41:17 +00:00
Jim Meyering 13f017568f . 2003-05-14 09:50:55 +00:00
Jim Meyering 79b611f24e regenerate, using new ../Makefile.am.in 2003-04-15 22:21:07 +00:00
Jim Meyering 4cfe78b8a0 *** empty log message *** 2003-04-05 18:03:47 +00:00
Jim Meyering 9a25583ef1 . 2000-11-17 10:16:22 +00:00
Jim Meyering c60c4a9fdc . 2000-08-03 08:00:00 +00:00
Jim Meyering e7328f4f56 . 1999-07-15 16:15:17 +00:00
Jim Meyering dace9c7477 . 1999-05-15 05:30:51 +00:00
Jim Meyering 2781ec69b7 . 1998-06-18 15:22:51 +00:00
Jim Meyering 27c8d53a3a . 1998-05-03 21:46:06 +00:00
Jim Meyering f79e8bdcaf . 1998-02-04 20:18:09 +00:00
Jim Meyering 43d2406f55 . 1998-02-04 18:04:39 +00:00
Jim Meyering 7ba5fcb251 add -*-Makefile-*- 1997-11-12 17:28:34 +00:00
Jim Meyering 9694cb0f15 add -*-Makefile-*- to first line 1997-11-09 19:06:53 +00:00
Jim Meyering 19d151cbbd regenerate with updated ../Makefile.am.in 1997-07-04 14:43:06 +00:00
Jim Meyering bca3705ac5 . 1997-01-30 03:22:44 +00:00
Jim Meyering a80c49322b . 1996-12-22 03:32:51 +00:00
Jim Meyering 64cd458e0a Add @MAINT@-protected rule for verifying that Makefile.am is
consistent with Test.pm.
1996-12-22 02:32:56 +00:00
Jim Meyering ed354b6490 (MAINTAINERCLEANFILES): Use $(in1) and $(in2), not $(in). 1996-12-20 06:11:50 +00:00
Jim Meyering 6c47524481 (.pl): Make generated file read-only so
I don't accidentally modify it instead of the one with the .pl suffix.
1996-12-18 01:25:45 +00:00
Jim Meyering b44299cfd7 mk-script.pl: Rename from build-script.pl. 1996-12-10 21:11:55 +00:00
Jim Meyering 97f0f916a2 . 1996-10-18 04:55:16 +00:00