]> git.pld-linux.org Git - packages/bicyclerepair.git/blobdiff - bicyclerepair.spec
- make test after building
[packages/bicyclerepair.git] / bicyclerepair.spec
index c8bd846edc4db5da435735fcb3624ae1ec3a8c8f..cf67c248bc46c9a0ce6692c108b105a443b04590 100644 (file)
@@ -4,6 +4,9 @@
 # - emacs, idle and vim subpackages
 #
 
+# Conditional build:
+%bcond_without tests   # disables testing
+
 
 %include       /usr/lib/rpm/macros.python
 
@@ -35,6 +38,7 @@ occurrences of a method. Thank You, Bicycle Repair Man!
 
 %build
 python setup.py build
+%{?with_tests:python -O testall.py -v}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.037411 seconds and 4 git commands to generate.