diff --git a/src/support/tests/ChangeLog b/src/support/tests/ChangeLog new file mode 100644 index 0000000000..a4d2257e31 --- /dev/null +++ b/src/support/tests/ChangeLog @@ -0,0 +1,6 @@ +2005-02-25 Lars Gullik Bjonnes + + * Makefile.am (regfiles): fix for builddir != srcdir + + * test_lstrings (regfile): fix for builddir != srcdir + * test_convert (reffile): ditto diff --git a/src/support/tests/Makefile.am b/src/support/tests/Makefile.am index fb77a02c1a..62f6bb8ff2 100644 --- a/src/support/tests/Makefile.am +++ b/src/support/tests/Makefile.am @@ -1,5 +1,7 @@ include $(top_srcdir)/config/common.am +EXTRA_DIST = test_convert test_lstrings regfiles + TESTS = \ test_convert \ test_lstrings @@ -22,5 +24,5 @@ lstrings_SOURCES = \ regfiles: ${check_PROGRAMS} for all in ${check_PROGRAMS} ; do \ - ./$$all > regfiles/$$all ; \ + ./$$all > ${srcdir}/regfiles/$$all ; \ done diff --git a/src/support/tests/test_convert b/src/support/tests/test_convert index bce7764f5c..bbcafe42b9 100755 --- a/src/support/tests/test_convert +++ b/src/support/tests/test_convert @@ -1,6 +1,6 @@ #!/bin/bash -regfile=`cat regfiles/convert` +regfile=`cat ${srcdir}/regfiles/convert` output=`./convert` test "$regfile" = "$output" diff --git a/src/support/tests/test_lstrings b/src/support/tests/test_lstrings index 624fdb0e11..3d4adfdb1e 100755 --- a/src/support/tests/test_lstrings +++ b/src/support/tests/test_lstrings @@ -1,6 +1,6 @@ #!/bin/bash -regfile=`cat regfiles/lstrings` +regfile=`cat ${srcdir}/regfiles/lstrings` output=`./lstrings` test "$regfile" = "$output"