[httrack] Fix the tests.
Christopher Meng
cicku at fedoraproject.org
Sat Jul 12 12:33:25 UTC 2014
commit b6a7d3617c56769457b562e78fd562d015ea27e6
Author: Christopher Meng <i at cicku.me>
Date: Sat Jul 12 20:33:33 2014 +0800
Fix the tests.
httrack.spec | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/httrack.spec b/httrack.spec
index 6e5fcff..1200462 100644
--- a/httrack.spec
+++ b/httrack.spec
@@ -38,7 +38,7 @@ iconv --from-code ISO8859-1 --to-code UTF-8 ./html/contact.html \
--output contact.utf-8 && mv contact.utf-8 ./html/contact.html
%build
-%configure --disable-static --enable-online-unit-tests=no
+%configure --disable-static --disable-online-unit-tests
# Remove rpaths.
rm -f ./libtool
@@ -82,7 +82,7 @@ desktop-file-install --delete-original \
%{buildroot}%{_datadir}/applications/WebHTTrack-Websites.desktop
%check
-make test
+make -C tests/ check
%pretrans
if [ $1 = 0 ]; then
More information about the scm-commits
mailing list