lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master dad090e 05/30: Add build directory to PATH wh


From: Greg Chicares
Subject: [lmi-commits] [lmi] master dad090e 05/30: Add build directory to PATH when running lmi tests with autotools
Date: Wed, 24 Mar 2021 15:31:07 -0400 (EDT)

branch: master
commit dad090e4d36b8a86d94741ae41910bbc1be1bcaf
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Add build directory to PATH when running lmi tests with autotools
    
    This is notably required for authenticity_test to pass, as it relies on
    lmi_md5sum being found by system().
---
 Makefile.am | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index a615b41..9fa1964 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -169,6 +169,11 @@ TESTS = \
 
 check_PROGRAMS = $(TESTS)
 
+# Some tests (at least authenticity_test) rely on finding lmi binaries in PATH,
+# but they're only present in the build directory by the time the test runs, so
+# ensure they can be found there.
+AM_TESTS_ENVIRONMENT = PATH=.:$$PATH
+
 ##############################################################################
 # Targets definitions
 ##############################################################################



reply via email to

[Prev in Thread] Current Thread [Next in Thread]