Simon McVittie
efb86ba9d3
libtest.sh: use G_TEST_SRCDIR, G_TEST_BUILDDIR to find resources
...
This fixes the bug that in installed-tests that run testlib.sh under
"bash -c" (i.e. the C and JS tests), $(dirname $0) is "." and we can't do
the LD_PRELOAD correctly:
ERROR: ld.so: object './libreaddir-rand.so' from LD_PRELOAD cannot be
preloaded (cannot open shared object file): ignored.
Similarly, those tests can't copy gpghome correctly.
This also removes the confusing situation that SRCDIR in libtest.sh
(which is ${top_srcdir}/tests) does not mean the same thing as SRCDIR
in test-abi.sh (which is just ${top_srcdir}).
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #234
Approved by: cgwalters
2016-03-31 18:54:13 +00:00
..
2015-03-19 12:43:04 -04:00
2016-03-03 08:50:19 -05:00
2015-08-26 12:16:29 -07:00
2016-03-31 14:22:06 +00:00
2016-01-27 11:44:10 -05:00
2016-03-31 14:22:06 +00:00
2014-10-22 20:02:06 +02:00
2015-05-28 14:21:30 -04:00
2016-03-03 21:56:23 -05:00
2016-03-03 21:56:23 -05:00
2016-03-31 18:54:13 +00:00
2012-06-21 18:05:13 -04:00
2016-02-26 08:19:01 -05:00
2016-02-26 08:19:01 -05:00
2016-03-03 08:50:19 -05:00
2015-06-04 18:56:31 -04:00
2015-05-28 14:21:30 -04:00
2016-03-24 16:23:12 +00:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-01-27 11:44:10 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-31 14:22:06 +00:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-31 18:54:13 +00:00
2016-03-03 08:50:19 -05:00
2016-03-03 21:56:23 -05:00
2016-03-31 14:22:06 +00:00
2016-03-03 08:50:19 -05:00
2015-05-06 22:07:11 -04:00
2016-03-18 12:08:19 -04:00
2016-03-31 18:43:31 +00:00
2013-09-18 16:34:57 -04:00
2016-01-27 11:44:10 -05:00
2016-03-31 18:54:13 +00:00
2016-03-31 14:22:06 +00:00
2016-03-01 10:08:25 -05:00
2016-03-31 18:43:31 +00:00
2016-03-03 08:50:19 -05:00
2016-01-27 11:44:10 -05:00
2015-05-06 22:07:11 -04:00
2016-03-21 13:02:49 -04:00
2016-03-03 08:50:19 -05:00
2016-01-27 11:44:10 -05:00
2016-03-31 14:22:06 +00:00
2015-10-13 15:24:09 +02:00
2015-05-06 22:07:11 -04:00
2016-03-03 08:50:19 -05:00
2015-05-06 22:07:11 -04:00
2015-05-06 22:07:11 -04:00
2015-05-06 22:07:11 -04:00
2016-03-31 14:22:06 +00:00
2016-03-31 18:54:13 +00:00
2016-01-27 11:44:10 -05:00
2016-03-03 18:00:54 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-31 18:43:31 +00:00
2016-01-27 11:44:10 -05:00
2016-03-03 08:50:19 -05:00
2016-03-31 18:43:31 +00:00
2016-03-31 14:22:06 +00:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-31 18:43:31 +00:00
2016-03-03 08:50:19 -05:00
2016-01-27 11:44:10 -05:00
2016-03-31 14:22:06 +00:00
2015-08-24 11:07:36 +02:00
2015-08-25 09:27:56 -04:00
2016-03-03 08:50:19 -05:00
2013-10-19 11:56:51 -04:00
2016-03-03 21:56:23 -05:00
2016-03-03 08:50:19 -05:00
2015-05-06 22:07:11 -04:00
2016-03-31 14:22:06 +00:00