summaryrefslogtreecommitdiff
path: root/gl/tests
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2010-08-11 10:49:22 +0100
committerPádraig Brady <P@draigBrady.com>2010-08-15 01:15:51 +0100
commit6d78c2df58a4b22ad4a8bfae1b7780f02276ba3d (patch)
tree2867c973a9b61fb39ab2792f0686a98c5042e6a4 /gl/tests
parent4e01bd1daba8815f194d4ec2c1f41c606f741e9a (diff)
downloadcoreutils-6d78c2df58a4b22ad4a8bfae1b7780f02276ba3d.tar.xz
maint: exclude tests from the set_program_name syntax-check
* .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
Diffstat (limited to 'gl/tests')
-rw-r--r--gl/tests/test-di-set.c1
-rw-r--r--gl/tests/test-ino-map.c1
-rw-r--r--gl/tests/test-rand-isaac.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/gl/tests/test-di-set.c b/gl/tests/test-di-set.c
index e5fb6cb21..7f02e66c5 100644
--- a/gl/tests/test-di-set.c
+++ b/gl/tests/test-di-set.c
@@ -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);
diff --git a/gl/tests/test-ino-map.c b/gl/tests/test-ino-map.c
index 2b44602e2..aa7334afa 100644
--- a/gl/tests/test-ino-map.c
+++ b/gl/tests/test-ino-map.c
@@ -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);
diff --git a/gl/tests/test-rand-isaac.c b/gl/tests/test-rand-isaac.c
index c1ad01a38..03b004c4f 100644
--- a/gl/tests/test-rand-isaac.c
+++ b/gl/tests/test-rand-isaac.c
@@ -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;