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
This commit is contained in:
Pádraig Brady 2010-08-11 10:49:22 +01:00
parent 4e01bd1dab
commit 6d78c2df58
4 changed files with 1 additions and 5 deletions

View 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

View 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);

View 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);

View 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;