set LD_LIBRARY_PATH in test suite so that test programs are linked correctly

This commit is contained in:
Jindrich Novy 2012-11-27 10:41:09 +01:00
parent 56c1e89083
commit e6c9b3ce2b

View File

@ -221,7 +221,9 @@ popd
%check
pushd test
PBM_TESTPREFIX=$RPM_BUILD_ROOT%{_bindir} ./Execute-Tests
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
export PBM_TESTPREFIX=$RPM_BUILD_ROOT%{_bindir}
./Execute-Tests
popd
%clean