diff options
author | Eric Blake <ebb9@byu.net> | 2009-09-11 09:53:44 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-09-17 19:16:21 -0600 |
commit | 8e7fa996cb189829ed7c9a4f2f489b9150a6571d (patch) | |
tree | cde3179d06d3a3146b4e31df0fef214f6c60cd0f /modules/canonicalize-tests | |
parent | 59a85b3ebaf70211eb568441a9d2c33619c97ae6 (diff) | |
download | gnulib-8e7fa996cb189829ed7c9a4f2f489b9150a6571d.tar.gz |
test-canonicalize: consolidate into single C program
* tests/test-canonicalize.sh: Delete; move setup into...
* tests/test-canonicalize.c (main): ...the program, making it
easier to run in debugger. Add some tests.
* modules/canonicalize-tests (Files): Remove unused file.
(Depends-on): Add progname.
(configure.ac, Makefile.am): Simplify.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules/canonicalize-tests')
-rw-r--r-- | modules/canonicalize-tests | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/canonicalize-tests b/modules/canonicalize-tests index e8dfec7204..f91c5f92e0 100644 --- a/modules/canonicalize-tests +++ b/modules/canonicalize-tests @@ -1,16 +1,13 @@ Files: -tests/test-canonicalize.sh tests/test-canonicalize.c Depends-on: +progname configure.ac: AC_CHECK_FUNCS_ONCE([symlink]) -HAVE_SYMLINK=$ac_cv_func_symlink -AC_SUBST([HAVE_SYMLINK]) Makefile.am: -TESTS += test-canonicalize.sh -TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' HAVE_SYMLINK='$(HAVE_SYMLINK)' +TESTS += test-canonicalize check_PROGRAMS += test-canonicalize test_canonicalize_LDADD = $(LDADD) @LIBINTL@ |