From 4b518dbae58165dc44f5f0dd1ec8b368abb4f3c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Fri, 25 Feb 2005 05:08:08 +0000 Subject: [PATCH] add ChangeLog and fix for builddir != srcdir git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9680 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/tests/ChangeLog | 6 ++++++ src/support/tests/Makefile.am | 4 +++- src/support/tests/test_convert | 2 +- src/support/tests/test_lstrings | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 src/support/tests/ChangeLog 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" -- 2.39.2