summaryrefslogtreecommitdiff
path: root/testsuite/testsuite.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/testsuite.inc')
-rw-r--r--testsuite/testsuite.inc22
1 files changed, 21 insertions, 1 deletions
diff --git a/testsuite/testsuite.inc b/testsuite/testsuite.inc
index 312ba50ac..a49f4973c 100644
--- a/testsuite/testsuite.inc
+++ b/testsuite/testsuite.inc
@@ -1,5 +1,5 @@
# This file is part of GNU Mailutils. -*- Autotest -*-
-# Copyright (C) 2007-2019 Free Software Foundation, Inc.
+# Copyright (C) 2007-2024 Free Software Foundation, Inc.
#
# GNU Mailutils is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -21,6 +21,17 @@ m4_version_prereq([2.52g])
m4_define([AT_SKIP_TEST],[exit 77])
dnl ------------------------------------------------------------
+dnl MU_CHECK(NAME, [KW], COMMAND, [STATUS = `0'],
+dnl [STDOUT], [STDERR],
+dnl [RUN-IF-FAIL], [RUN-IF-PASS])
+dnl ------------------------------------------------------------
+m4_define([MU_CHECK],[AT_SETUP([$1])
+AT_KEYWORDS([$2])
+AT_CHECK(m4_shift2($@))
+AT_CLEANUP
+])
+
+dnl ------------------------------------------------------------
dnl MUT_DEFAULT_OPTIONS -- produce default command line options
dnl ------------------------------------------------------------
m4_define([MUT_DEFAULT_OPTIONS],[dnl
@@ -69,3 +80,12 @@ fi
m4_popdef([__basename])
m4_popdef([__dst])
])
+
+m4_divert_text(PREPARE_TESTS,
+[# This setting is needed on FreeBSD to ensure the LD_LIBRARY_PATH overrides
+# the DT_RPATH tag in ELF header. See
+# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27510
+# for details.
+LD_LIBRARY_PATH_RPATH=y
+export LD_LIBRARY_PATH_RPATH
+])

Return to:

Send suggestions and report system problems to the System administrator.