]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
Add nocheck build option to suppress build-time test suites
authorRuss Allbery <rra@debian.org>
Sat, 5 Jul 2008 21:01:30 +0000 (14:01 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 5 Jul 2008 21:01:30 +0000 (14:01 -0700)
Closes: #416450
policy.sgml

index c9bd84f23d9057d7825af62d195a88cf7866ff46..ad5ba0848516cfc7cc80c734601dfa7bffd0b81d 100644 (file)
          <p>
            The meaning of the following tags has been standardized:
            <taglist>
+             <tag>nocheck</tag>
+             <item>
+                 This tag says to not run any build-time test suite
+                 provided by the package.
+             </item>
              <tag>noopt</tag>
              <item>
                  The presence of this tag means that the package should
@@ -2095,6 +2100,12 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
     NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
     MAKEFLAGS += -j$(NUMJOBS)
 endif
+
+build:
+       # ...
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+       # Code to run the package test suite.
+endif
            </example>
          </p>
        </sect1>