]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: exclude tests from the set_program_name syntax-check
authorPádraig Brady <P@draigBrady.com>
Wed, 11 Aug 2010 09:49:22 +0000 (10:49 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 15 Aug 2010 00:15:51 +0000 (01:15 +0100)
* .x-sc_program_name: Exclude all current and future
c files in gl/tests from this check
* gl/tests/test-di-set.c: Remove the hack to work around
the set_program_name syntax-check
* gl/tests/test-ino-map.c: Likewise
* gl/tests/test-rand-isaac.c: Likewise

.x-sc_program_name
gl/tests/test-di-set.c
gl/tests/test-ino-map.c
gl/tests/test-rand-isaac.c

index 066704422de6e97f0d2f7d1f3376a9d82162d5c3..86cc5c1a7576aadfac3377167bd9958ccdc81ea2 100644 (file)
@@ -1,4 +1,3 @@
 gl/lib/randint.c
 lib/euidaccess-stat.c
-gl/tests/test-mbsalign.c
-gl/tests/test-fadvise.c
+gl/tests/.*\.c
index e5fb6cb21930fe8126c90b297c866b3e6996715a..7f02e66c52965e64b4e01a0e5a8f55523605c6ac 100644 (file)
@@ -39,7 +39,6 @@
 int
 main (void)
 {
-  /* set_program_name (argv[0]); placate overzealous "syntax-check" test.  */
   struct di_set *dis = di_set_alloc ();
   ASSERT (dis);
 
index 2b44602e26f3af61675c0116b1c808cb471ba08a..aa7334afaf71856dcf14e8c4883ec7f8f8186438 100644 (file)
@@ -39,7 +39,6 @@
 int
 main ()
 {
-  /* set_program_name (argv[0]); placate overzealous "syntax-check" test.  */
   enum { INO_MAP_INIT = 123 };
   struct ino_map *ino_map = ino_map_alloc (INO_MAP_INIT);
   ASSERT (ino_map != NULL);
index c1ad01a38699fd725d7a81a248033362414811f9..03b004c4fabb5b7bcbbb33cacb3c5f58f182acc9 100644 (file)
@@ -576,7 +576,6 @@ static isaac_word const expected[2][ISAAC_WORDS] =
 int
 main (int argc, char **argv)
 {
-  /* set_program_name (argv[0]); placate overzealous "syntax-check" test.  */
   unsigned int i;
   isaac_word r[ISAAC_WORDS];
   int iterations;