summaryrefslogtreecommitdiff
path: root/modules/ftello-tests
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-02-25 07:42:31 -0700
committerEric Blake <ebb9@byu.net>2009-02-25 13:47:14 -0700
commit5812ea3e47b3db87cc42c99b1d3cd8e44c8c0af3 (patch)
tree967794499721d4dcae3060650073f3103d4ea9b4 /modules/ftello-tests
parent1e3dd41e4d5de03c45c850b2a6c2d989cb272d36 (diff)
downloadgnulib-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/ftello-tests')
-rw-r--r--modules/ftello-tests5
1 files changed, 4 insertions, 1 deletions
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