From b52baed88f2560d30d733e5e570f634ccd3f7211 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Tue, 3 Jan 2006 00:34:10 +0100 Subject: [PATCH] Move src/dom/test/libtest test/libtest.sh, put path to it in TEST_LIB --- Makefile.config.in | 3 +++ src/dom/test/test-sgml-parser-basic | 2 +- src/dom/test/libtest => test/libtest.sh | 0 3 files changed, 4 insertions(+), 1 deletion(-) rename src/dom/test/libtest => test/libtest.sh (100%) diff --git a/Makefile.config.in b/Makefile.config.in index 21ef90ee..d66f5543 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -48,6 +48,9 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ +TEST_LIB=$(top_srcdir)/test/libtest.sh +export TEST_LIB + host = @host@ ASCIIDOC = @ASCIIDOC@ diff --git a/src/dom/test/test-sgml-parser-basic b/src/dom/test/test-sgml-parser-basic index 6805861e..d038c458 100755 --- a/src/dom/test/test-sgml-parser-basic +++ b/src/dom/test/test-sgml-parser-basic @@ -9,7 +9,7 @@ This test runs very basic features, like checking that nodes are placed correctly in the DOM tree. ' -. ./libtest +. "$TEST_LIB" test_output_equals () { desc="$1" diff --git a/src/dom/test/libtest b/test/libtest.sh similarity index 100% rename from src/dom/test/libtest rename to test/libtest.sh