]> git.pld-linux.org Git - packages/docker.git/commitdiff
add tests (disabled as requires sudo)
authorElan Ruusamäe <glen@delfi.ee>
Fri, 23 Aug 2013 21:48:54 +0000 (00:48 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 23 Aug 2013 21:48:54 +0000 (00:48 +0300)
lxc-docker.spec

index 9a49c485ee813e85da00ca8ee9711184012ea108..d24ecb0b19aee3931be3c625365e65acf6846407 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    tests           # build without tests
+#
 Summary:       Docker: the Linux container engine
 Name:          lxc-docker
 Version:       0.6.0
@@ -80,6 +84,10 @@ unset GIT_WORK_TREE
 unset GIT_DIR
 %{__make} VERBOSE=1
 
+%if %{with tests}
+%{__make} test
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/var/lib/docker/{containers,graph,volumes}}
This page took 0.104244 seconds and 4 git commands to generate.