1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-07 18:26:35 +02:00
Commit Graph

42 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
Paul Eggert 6dcd2807d7 Regenerate. 2005-12-15 18:24:35 +00:00
Jim Meyering 7db2ac9eaf regenerate 2004-05-31 12:18:24 +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 5fe692927c . 2003-09-04 22:28:35 +00:00
Jim Meyering 39beb31640 . 2003-05-14 09:50:38 +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 4c625eb0d6 . 2001-08-04 17:33:17 +00:00
Jim Meyering 5fface8d3a . 2001-03-13 08:50:18 +00:00
Jim Meyering c60c4a9fdc . 2000-08-03 08:00:00 +00:00
Jim Meyering 668807df85 . 1999-05-22 02:53:08 +00:00
Jim Meyering d60127857c . 1999-05-20 16:51:40 +00:00
Jim Meyering 3a7457ae6c . 1999-05-09 15:01:52 +00:00
Jim Meyering 36ac5f1519 . 1998-07-26 02:59:37 +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 89c9e683a3 . 1998-05-02 15:33:01 +00:00
Jim Meyering 8fbf79b4e0 *** empty log message *** 1998-04-27 05:01:19 +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 b67ad81f67 . 1997-10-26 15:07:47 +00:00
Jim Meyering a1796c88cb . 1997-10-14 22:15:06 +00:00
Jim Meyering a9e92e39a3 . 1997-10-10 21:21:04 +00:00
Jim Meyering 76bf15f3f5 . 1997-09-14 02:19:38 +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 19b5a4f761 Clone the Makefile.am from join-test.
Replace only the definition of $x and the auto-generated lists of
test files.
1996-12-22 02:50:15 +00:00
Jim Meyering b44299cfd7 mk-script.pl: Rename from build-script.pl. 1996-12-10 21:11:55 +00:00
Jim Meyering 4677a7e42f (t): Add names of those 5 tests. 1996-11-25 03:09:22 +00:00
Jim Meyering d74d789bea Add test 17. 1996-11-02 05:19:02 +00:00
Jim Meyering 9016aac157 (t): Factor out .in suffix.
Include new test: t16a.
1996-09-26 02:59:36 +00:00
Jim Meyering e8f7310474 (EXTRA_DIST): Add $x-tests.
($x-tests): Guard dependencies with @MAINT@.
1996-08-26 03:51:33 +00:00
Jim Meyering a023f4519e . 1996-08-18 14:32:50 +00:00