diff options
author | Eric Blake <ebb9@byu.net> | 2009-02-25 07:42:31 -0700 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-02-25 13:47:14 -0700 |
commit | 5812ea3e47b3db87cc42c99b1d3cd8e44c8c0af3 (patch) | |
tree | 967794499721d4dcae3060650073f3103d4ea9b4 /modules | |
parent | 1e3dd41e4d5de03c45c850b2a6c2d989cb272d36 (diff) | |
download | gnulib-5812ea3e47b3db87cc42c99b1d3cd8e44c8c0af3.tar.gz |
tests: skip fseek/ftell tests if ungetc is broken
* m4/ungetc.m4: New file.
* modules/fseek-tests: Split test, so ungetc dependency is
separate from rest of test.
* modules/fseeko-tests: Likewise.
* modules/ftell-tests: Likewise.
* modules/ftello-tests: Likewise.
* tests/test-fseek.c (main): Isolate ungetc dependency.
* tests/test-fseeko.c (main): Likewise.
* tests/test-ftell.c (main): Likewise.
* tests/test-ftello.c (main): Likewise.
* tests/test-fseek2.sh: New file.
* tests/test-fseeko2.sh: Likewise.
* tests/test-ftell2.sh: Likewise.
* tests/test-ftello2.sh: Likewise.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/fseek-tests | 5 | ||||
-rw-r--r-- | modules/fseeko-tests | 5 | ||||
-rw-r--r-- | modules/ftell-tests | 5 | ||||
-rw-r--r-- | modules/ftello-tests | 5 |
4 files changed, 16 insertions, 4 deletions
diff --git a/modules/fseek-tests b/modules/fseek-tests index a1c97fe507..7f10d48a10 100644 --- a/modules/fseek-tests +++ b/modules/fseek-tests @@ -1,12 +1,15 @@ Files: tests/test-fseek.c tests/test-fseek.sh +tests/test-fseek2.sh +m4/ungetc.m4 Depends-on: configure.ac: +gl_FUNC_UNGETC_WORKS Makefile.am: -TESTS += test-fseek.sh +TESTS += test-fseek.sh test-fseek2.sh TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)' check_PROGRAMS += test-fseek diff --git a/modules/fseeko-tests b/modules/fseeko-tests index 8e077eca58..b01ed58150 100644 --- a/modules/fseeko-tests +++ b/modules/fseeko-tests @@ -1,12 +1,15 @@ Files: tests/test-fseeko.c tests/test-fseeko.sh +tests/test-fseeko2.sh +m4/ungetc.m4 Depends-on: configure.ac: +gl_FUNC_UNGETC_WORKS Makefile.am: -TESTS += test-fseeko.sh +TESTS += test-fseeko.sh test-fseeko2.sh TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)' check_PROGRAMS += test-fseeko diff --git a/modules/ftell-tests b/modules/ftell-tests index ad82ded0a2..ce5f479369 100644 --- a/modules/ftell-tests +++ b/modules/ftell-tests @@ -1,13 +1,16 @@ Files: tests/test-ftell.c tests/test-ftell.sh +tests/test-ftell2.sh +m4/ungetc.m4 Depends-on: binary-io configure.ac: +gl_FUNC_UNGETC_WORKS Makefile.am: -TESTS += test-ftell.sh +TESTS += test-ftell.sh test-ftell2.sh TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)' check_PROGRAMS += test-ftell diff --git a/modules/ftello-tests b/modules/ftello-tests index 48179bc129..cc7f46e27a 100644 --- a/modules/ftello-tests +++ b/modules/ftello-tests @@ -1,13 +1,16 @@ Files: tests/test-ftello.c tests/test-ftello.sh +tests/test-ftello2.sh +m4/ungetc.m4 Depends-on: binary-io configure.ac: +gl_FUNC_UNGETC_WORKS Makefile.am: -TESTS += test-ftello.sh +TESTS += test-ftello.sh test-ftello2.sh TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)' check_PROGRAMS += test-ftello |