Add library paths for tests.

Richard Sahw, KF5OIM, reported a failure in the C++ test when attempting
to build an RPM package in a clean environment.  This patch amends the
LD_LIBRARY_PATH in the generated shell scripts in the c++ and tests
directories.
libusb-1-0
Nate Bargmann 2015-09-03 12:03:53 -05:00
rodzic ffe3126a85
commit 81775bc03d
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -16,7 +16,7 @@ TESTS = $(check_SCRIPTS)
testcpp.sh:
echo 'LD_LIBRARY_PATH=$(top_builddir)/dummy/.libs ./testcpp' > testcpp.sh
echo 'LD_LIBRARY_PATH=$(top_builddir)/c++/.libs:$(top_builddir)/dummy/.libs ./testcpp' > testcpp.sh
chmod +x ./testcpp.sh
CLEANFILES = testcpp.sh

Wyświetl plik

@ -68,7 +68,7 @@ TESTS = $(check_SCRIPTS)
testrig.sh:
echo 'LD_LIBRARY_PATH=$(top_builddir)/dummy/.libs ./testrig 1' > testrig.sh
echo 'LD_LIBRARY_PATH=$(top_builddir)/src/.libs:$(top_builddir)/dummy/.libs ./testrig 1' > testrig.sh
chmod +x ./testrig.sh
testfreq.sh: