summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-12-08 16:10:58 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-01-15 08:32:25 -0800
commitd1a9c190caba13a63796f1f939be91df25060d41 (patch)
tree7aef76d0c93f0b3bf0529e7c7f025b9a0ac9665a
parentc7f5b54fde85441aced7643a2c6061d781f13e54 (diff)
downloadltrace-d1a9c190caba13a63796f1f939be91df25060d41.tar.gz
ltrace-d1a9c190caba13a63796f1f939be91df25060d41.tar.bz2
ltrace-d1a9c190caba13a63796f1f939be91df25060d41.zip
do not run tests
-rw-r--r--packaging/ltrace.spec22
1 files changed, 1 insertions, 21 deletions
diff --git a/packaging/ltrace.spec b/packaging/ltrace.spec
index 3a29224..88a7f75 100644
--- a/packaging/ltrace.spec
+++ b/packaging/ltrace.spec
@@ -40,26 +40,6 @@ export CFLAGS="%{optflags} -W -Wall"
--build=%{_target_cpu}-tizen-linux
%endif
make
-%if 1
-if make check
-then
- echo 'no make check errors' > testresults.txt
-else
- for file in `find testsuite -name "*.ltrace"`
- do
- echo
- echo $file
- echo
- cat $file
- echo
- done >> testresults.txt
-fi
-mv testresults.txt %{_target_cpu}-testresults.txt
-ln testsuite/testrun.sum testsuite/%{_target_cpu}-testrun.sum
-%else
-echo no make check > %{_target_cpu}-testresults.txt
-echo no make check > testsuite/%{_target_cpu}-testrun.sum
-%endif
%install
make install DESTDIR=%{buildroot}
@@ -67,7 +47,7 @@ rm -rf %{buildroot}/usr/share/doc/ltrace
%files
%defattr(-,root,root)
-%doc COPYING README ChangeLog %{_target_cpu}-testresults.txt testsuite/%{_target_cpu}-testrun.sum
+%doc COPYING README
%{_bindir}/ltrace
%{_mandir}/man1/ltrace.1.gz
%config /etc/ltrace.conf