Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame^] | 1 | From 39d332a8801de5d9ef09dacb3dba85c208b7b2ad Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Thu, 12 Dec 2019 13:45:52 +0100 |
| 4 | Subject: [PATCH] tests: do not hardcode the build path into a helper library |
| 5 | |
| 6 | Upstream-Status: Inappropriate [oe-core specific] |
| 7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 8 | --- |
| 9 | test/Makemodule.am | 2 +- |
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 | |
| 12 | diff --git a/test/Makemodule.am b/test/Makemodule.am |
| 13 | index 17d4927..015de7f 100644 |
| 14 | --- a/test/Makemodule.am |
| 15 | +++ b/test/Makemodule.am |
| 16 | @@ -30,7 +30,7 @@ EXTRA_DIST += \ |
| 17 | check_LTLIBRARIES = libtestlookup.la |
| 18 | |
| 19 | libtestlookup_la_SOURCES = test/test_passwd.c test/test_group.c |
| 20 | -libtestlookup_la_CFLAGS = -DBASEDIR=\"$(abs_srcdir)\" |
| 21 | +libtestlookup_la_CFLAGS = -DBASEDIR=\"/tmp/acl-ptest\" |
| 22 | libtestlookup_la_LDFLAGS = -rpath $(abs_builddir) |
| 23 | |
| 24 | AM_TESTS_ENVIRONMENT = PATH="$(abs_top_builddir):$$PATH"; |