summaryrefslogtreecommitdiff
path: root/tests/cert-tests
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2020-01-06 09:41:27 +0000
committerDimitri John Ledkov <xnox@ubuntu.com>2020-01-06 14:54:56 +0000
commit85e76bbd10d9ca481c2396eaab61ea70f49d23ac (patch)
treea4e6d608931dfdadcdc24c237dcc9d59e6bece73 /tests/cert-tests
parent72ce753893e9eab212de3f6305c17b12d0365724 (diff)
downloadgnutls-85e76bbd10d9ca481c2396eaab61ea70f49d23ac.tar.gz
tests/Makefile.am: use absolute top_srcdir for GNUTLS_PRIORITY_FILE
Some tests, e.g. in suite/tls-fuzzer execute scripts from sub-directories, making the relative path to system.prio in the environment pointing to a non-existent file. Export system.prio testsuite file as an absolute path to avoid this issue. Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
Diffstat (limited to 'tests/cert-tests')
-rw-r--r--tests/cert-tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cert-tests/Makefile.am b/tests/cert-tests/Makefile.am
index 38dd2fb53f..11a9c3b3dd 100644
--- a/tests/cert-tests/Makefile.am
+++ b/tests/cert-tests/Makefile.am
@@ -156,7 +156,7 @@ TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) \
ac_cv_sizeof_time_t="$(ac_cv_sizeof_time_t)" \
ASAN_OPTIONS="detect_leaks=0:exitcode=6" \
GNUTLS_TEST_SUITE_RUN=1 \
- GNUTLS_SYSTEM_PRIORITY_FILE=$(srcdir)/../system.prio \
+ GNUTLS_SYSTEM_PRIORITY_FILE=$(abs_top_srcdir)/tests/system.prio \
srcdir="$(srcdir)"
if ENABLE_FIPS140