[med-svn] [Git][med-team/simde][master] don't configure/build/run the tests if nocheck

Michael R. Crusoe gitlab at salsa.debian.org
Fri Apr 3 07:25:18 BST 2020



Michael R. Crusoe pushed to branch master at Debian Med / simde


Commits:
1f940a74 by Michael R. Crusoe at 2020-04-03T08:24:42+02:00
don't configure/build/run the tests if nocheck

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -5,7 +5,7 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Michael R. Crusoe <michael.crusoe at gmail.com>
 Build-Depends: debhelper-compat (= 12),
                cmake,
-               clang
+               clang <!nocheck>
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/simde
 Vcs-Git: https://salsa.debian.org/med-team/simde.git


=====================================
debian/rules
=====================================
@@ -21,12 +21,16 @@ include /usr/share/dpkg/default.mk
 	dh $@ --sourcedirectory=test
 
 override_dh_auto_configure:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	dh_auto_configure --builddirectory=gcc_test --sourcedirectory=test -- CC=gcc CXX=g++
 	dh_auto_configure --builddirectory=clang_test --sourcedirectory=test -- CC=clang CXX=clang++
+endif
 
 override_dh_auto_build:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	dh_auto_build --builddirectory=gcc_test --sourcedirectory=test
 	dh_auto_build --builddirectory=clang_test --sourcedirectory=test
+endif
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))



View it on GitLab: https://salsa.debian.org/med-team/simde/-/commit/1f940a7403f1e9b2f08ce931f38ef703fa317a20

-- 
View it on GitLab: https://salsa.debian.org/med-team/simde/-/commit/1f940a7403f1e9b2f08ce931f38ef703fa317a20
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200403/2572cf8f/attachment-0001.html>


More information about the debian-med-commit mailing list