aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-11-18 15:46:34 +0200
committerSergey Poznyakoff <gray@gnu.org>2021-11-20 08:59:03 +0200
commitd38991be3ee99b158e889e78439fc21723154767 (patch)
tree54bf2d7f4e938d3a5ca1b90782a9cfbe626438cb /tests
parent669d541702fa39cd45ceab1eb333cb100c0d08ac (diff)
downloadgdbm-d38991be3ee99b158e889e78439fc21723154767.tar.gz
gdbm-d38991be3ee99b158e889e78439fc21723154767.tar.bz2
Rearrange the directory structure
Sources for the libgdbm library reside in src/. Sources for building accompanying tools are moved to the tools/ subdirectory.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am4
-rw-r--r--tests/atlocal.in2
-rw-r--r--tests/gdbmtool/config/default.exp2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3bd6b83..de63cd5 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -129,7 +129,7 @@ check_PROGRAMS = \
t_wordwrap\
$(DBMPROGS)
-AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src $(DBMINCLUDES)
+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_srcdir)/tools $(DBMINCLUDES)
noinst_HEADERS=progname.h
@@ -140,6 +140,6 @@ dtdump_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la
dtfetch_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la
dtdel_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la
d_creat_ce_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la
-t_wordwrap_LDADD = ../src/libgdbmapp.a
+t_wordwrap_LDADD = ../tools/libgdbmapp.a
SUBDIRS = gdbmtool
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 43e5e18..a3643c7 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with GDBM. If not, see <http://www.gnu.org/licenses/>. */
-PATH=@abs_top_builddir@/src:$PATH
+PATH=@abs_top_builddir@/tools:$PATH
@COMPAT_OPT_TRUE@COMPAT=1
@COMPAT_OPT_FALSE@COMPAT=0
diff --git a/tests/gdbmtool/config/default.exp b/tests/gdbmtool/config/default.exp
index eab27ef..7376896 100644
--- a/tests/gdbmtool/config/default.exp
+++ b/tests/gdbmtool/config/default.exp
@@ -11,7 +11,7 @@ proc gdbmtool_start {args} {
global top_builddir
global gdbmtool_prompt
- set cmd "$top_builddir/src/gdbmtool -q $args"
+ set cmd "$top_builddir/tools/gdbmtool -q $args"
verbose "running $cmd" 1
set gdbmtool_spawn_id [remote_spawn host $cmd]

Return to:

Send suggestions and report system problems to the System administrator.