From: Peter Verthez Date: Sun, 22 Sep 2002 13:03:00 +0000 (+0000) Subject: Moved test programs to src subdirectory. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=3780b0be94bdb523584290763077582147ea57ce;p=gedcom-parse.git Moved test programs to src subdirectory. --- diff --git a/t/Makefile.am b/t/Makefile.am index 16854ff..fea7cce 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -2,32 +2,12 @@ # $Id$ # $Name$ -SUBDIRS=input -INCLUDES = -DPKGDATADIR=\"$(pkgdatadir)\" -I $(srcdir)/../include \ - -I $(srcdir)/../utf8 -CFLAGS = -g -O2 +SUBDIRS=src input . -noinst_PROGRAMS = testgedcom pathtest gomtest @EXTRA_PROGS@ -EXTRA_PROGRAMS = gomtest_static - -testgedcom_SOURCES = standalone.c -testgedcom_LDFLAGS = -L ../gedcom/.libs -lgedcom -testgedcom_LDADD = @INTLLIBS@ ../utf8/libutf8.la - -pathtest_SOURCES = pathtest.c -pathtest_LDFLAGS = -L ../gedcom/.libs -lgedcom - -gomtest_SOURCES = gomtest.c -gomtest_LDFLAGS = -L ../gedcom/.libs -L ../gom/.libs -lgedcom_gom -lgedcom - -gomtest_static_SOURCES = gomtest.c -gomtest_static_LDADD = ../gedcom/.libs/libgedcom.a ../gom/.libs/libgedcom_gom.a DMALLOC_LOG = dmalloc.log - -TEST_SCRIPT=test_script test_gom TESTS := $(wildcard $(srcdir)/*.test) -EXTRA_DIST=$(TEST_SCRIPT) $(TESTS) +EXTRA_DIST=$(TESTS) all-local: @rm -f testgedcom.out $(DMALLOC_LOG) diff --git a/t/allged.test b/t/allged.test index 545ebdc..f480221 100755 --- a/t/allged.test +++ b/t/allged.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -2 allged.ged 0 +$srcdir/src/test_script -2 allged.ged 0 diff --git a/t/allged_gom.test b/t/allged_gom.test index d1f34cd..9221344 100755 --- a/t/allged_gom.test +++ b/t/allged_gom.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_gom allged.ged 0 +$srcdir/src/test_gom allged.ged 0 diff --git a/t/ansel.test b/t/ansel.test index 3a1623a..9eb2354 100755 --- a/t/ansel.test +++ b/t/ansel.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -2 ansel.ged 0 +$srcdir/src/test_script -2 ansel.ged 0 diff --git a/t/ansel_gom.test b/t/ansel_gom.test index 28a0945..d7c5d27 100755 --- a/t/ansel_gom.test +++ b/t/ansel_gom.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_gom ansel.ged 0 +$srcdir/src/test_gom ansel.ged 0 diff --git a/t/bogus.test b/t/bogus.test index 190fdb0..0015ebe 100755 --- a/t/bogus.test +++ b/t/bogus.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -2 -b minimal.ged 0 +$srcdir/src/test_script -2 -b minimal.ged 0 diff --git a/t/dates.test b/t/dates.test index 97423ed..c6c73ee 100755 --- a/t/dates.test +++ b/t/dates.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -2 dates.ged 0 +$srcdir/src/test_script -2 dates.ged 0 diff --git a/t/dates_gom.test b/t/dates_gom.test index 5847571..9f7dd0a 100755 --- a/t/dates_gom.test +++ b/t/dates_gom.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_gom dates.ged 0 +$srcdir/src/test_gom dates.ged 0 diff --git a/t/encoding_error.test b/t/encoding_error.test index 104f8da..1fcd756 100755 --- a/t/encoding_error.test +++ b/t/encoding_error.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -2 -fn encoding_error.ged 0 +$srcdir/src/test_script -2 -fn encoding_error.ged 0 diff --git a/t/minimal.test b/t/minimal.test index c05b9f0..bd92e20 100755 --- a/t/minimal.test +++ b/t/minimal.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -2 minimal.ged 0 +$srcdir/src/test_script -2 minimal.ged 0 diff --git a/t/path1.test b/t/path1.test index 94e7ee9..f45db0a 100755 --- a/t/path1.test +++ b/t/path1.test @@ -3,4 +3,4 @@ builddir=`pwd` export LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$LD_LIBRARY_PATH unset GCONV_PATH -$builddir/pathtest +$builddir/src/pathtest diff --git a/t/path2.test b/t/path2.test index 7f55156..1f9fd23 100755 --- a/t/path2.test +++ b/t/path2.test @@ -3,4 +3,4 @@ builddir=`pwd` export LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$LD_LIBRARY_PATH export GCONV_PATH=./ansel -$builddir/pathtest +$builddir/src/pathtest diff --git a/t/uhlbomcl.test b/t/uhlbomcl.test index daa1c94..69518e9 100755 --- a/t/uhlbomcl.test +++ b/t/uhlbomcl.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -2 uhlbomcl.ged 0 +$srcdir/src/test_script -2 uhlbomcl.ged 0 diff --git a/t/uhlbomcl_gom.test b/t/uhlbomcl_gom.test index 7f4ddba..0589722 100755 --- a/t/uhlbomcl_gom.test +++ b/t/uhlbomcl_gom.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_gom uhlbomcl.ged 0 +$srcdir/src/test_gom uhlbomcl.ged 0 diff --git a/t/uhlcl.test b/t/uhlcl.test index 0ec90ee..cdb73e6 100755 --- a/t/uhlcl.test +++ b/t/uhlcl.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -2 uhlcl.ged 0 +$srcdir/src/test_script -2 uhlcl.ged 0 diff --git a/t/uhlcl_gom.test b/t/uhlcl_gom.test index b7c7602..1cf1e02 100755 --- a/t/uhlcl_gom.test +++ b/t/uhlcl_gom.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_gom uhlcl.ged 0 +$srcdir/src/test_gom uhlcl.ged 0 diff --git a/t/ulhbomcl.test b/t/ulhbomcl.test index e6653c1..8188b3a 100755 --- a/t/ulhbomcl.test +++ b/t/ulhbomcl.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -2 ulhbomcl.ged 0 +$srcdir/src/test_script -2 ulhbomcl.ged 0 diff --git a/t/ulhbomcl_gom.test b/t/ulhbomcl_gom.test index fb61276..e5ec2fa 100755 --- a/t/ulhbomcl_gom.test +++ b/t/ulhbomcl_gom.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_gom ulhbomcl.ged 0 +$srcdir/src/test_gom ulhbomcl.ged 0 diff --git a/t/ulhc.test b/t/ulhc.test index a4f9320..f40a1a9 100755 --- a/t/ulhc.test +++ b/t/ulhc.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -2 ulhc.ged 0 +$srcdir/src/test_script -2 ulhc.ged 0 diff --git a/t/ulhc_gom.test b/t/ulhc_gom.test index ab5d2a6..912b2ce 100755 --- a/t/ulhc_gom.test +++ b/t/ulhc_gom.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_gom ulhc.ged 0 +$srcdir/src/test_gom ulhc.ged 0 diff --git a/t/ulhcl.test b/t/ulhcl.test index 4482837..1ebee29 100755 --- a/t/ulhcl.test +++ b/t/ulhcl.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -2 ulhcl.ged 0 +$srcdir/src/test_script -2 ulhcl.ged 0 diff --git a/t/ulhcl_gom.test b/t/ulhcl_gom.test index e0820b9..5d50bd0 100755 --- a/t/ulhcl_gom.test +++ b/t/ulhcl_gom.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_gom ulhcl.ged 0 +$srcdir/src/test_gom ulhcl.ged 0 diff --git a/t/ulhl.test b/t/ulhl.test index ff55cbf..6aa1fc0 100755 --- a/t/ulhl.test +++ b/t/ulhl.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -2 ulhl.ged 0 +$srcdir/src/test_script -2 ulhl.ged 0 diff --git a/t/ulhl_gom.test b/t/ulhl_gom.test index 39cae64..a57d30b 100755 --- a/t/ulhl_gom.test +++ b/t/ulhl_gom.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_gom ulhl.ged 0 +$srcdir/src/test_gom ulhl.ged 0 diff --git a/t/ulhlc.test b/t/ulhlc.test index b6dba32..38ff9e1 100755 --- a/t/ulhlc.test +++ b/t/ulhlc.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -2 ulhlc.ged 0 +$srcdir/src/test_script -2 ulhlc.ged 0 diff --git a/t/ulhlc_gom.test b/t/ulhlc_gom.test index b6e58eb..82c14f7 100755 --- a/t/ulhlc_gom.test +++ b/t/ulhlc_gom.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_gom ulhlc.ged 0 +$srcdir/src/test_gom ulhlc.ged 0 diff --git a/t/unknown.test b/t/unknown.test index 86b984f..7fa9302 100755 --- a/t/unknown.test +++ b/t/unknown.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script unknown.ged 1 +$srcdir/src/test_script unknown.ged 1 diff --git a/t/unknown_ignore_errors.test b/t/unknown_ignore_errors.test index 52070d1..4d8309a 100755 --- a/t/unknown_ignore_errors.test +++ b/t/unknown_ignore_errors.test @@ -1,3 +1,3 @@ #!/bin/sh -$srcdir/test_script -fn unknown.ged 0 +$srcdir/src/test_script -fn unknown.ged 0