[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Man-db-devel] [PATCH 1/2] src/tests: Allow running tests individually
From: |
Mihail Konev |
Subject: |
[Man-db-devel] [PATCH 1/2] src/tests: Allow running tests individually |
Date: |
Sat, 29 Oct 2016 07:23:52 +0500 |
Previously, (cd src/tests && ./man-9) would complain
about /libtool not being found (due to a missing Makefile.am
envvar).
Add the missing path.
---
src/tests/testlib.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/tests/testlib.sh b/src/tests/testlib.sh
index d8fbc6ca07d3..d0ba73d4e60a 100644
--- a/src/tests/testlib.sh
+++ b/src/tests/testlib.sh
@@ -15,6 +15,7 @@ init () {
}
run () {
+ abs_top_builddir=${abs_top_builddir:-$(readlink -e ../../)}
"$abs_top_builddir/libtool" --mode=execute \
-dlopen "$abs_top_builddir/lib/.libs/libman.la" \
-dlopen "$abs_top_builddir/libdb/.libs/libmandb.la" \
--
2.9.2
- [Man-db-devel] [PATCH 1/2] src/tests: Allow running tests individually,
Mihail Konev <=