Skip to content

Commit 8fc361d

Browse files
committed
debian/rules: honor 'nocheck' flag in DEB_BUILD_OPTIONS
porting from debian
1 parent c03e87b commit 8fc361d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

debian/changelog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
ruby2.2 (2.2.6-0nkmi1) unstable; urgency=medium
22

33
* new upstream version
4+
* honor nocheck flag
5+
(porting d7218fd9adb2279c9e4b4f626dfeebaa34830add from debian)
46

57
-- Sorah Fukumori <[email protected]> Tue, 22 Nov 2016 19:19:13 +0000
68

debian/rules

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ override_dh_auto_build-arch:
6868
dh_auto_build -- main V=1
6969

7070
override_dh_auto_test-arch:
71+
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
7172
$(MAKE) TESTS="-v -j 4" V=1 check
73+
endif
7274

7375
override_dh_auto_install-arch:
7476
$(MAKE) install-nodoc V=1 DESTDIR=$(CURDIR)/debian/tmp

0 commit comments

Comments
 (0)