[MacPorts] #45010: RFE: stop "port test" immediately if no test phase defined

MacPorts noreply at macports.org
Sun Jan 1 12:27:35 UTC 2023


#45010: RFE: stop "port test" immediately if no test phase defined
--------------------------+--------------------------------
  Reporter:  dstrubbe     |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:  2.3.1
Resolution:  fixed        |   Keywords:
      Port:               |
--------------------------+--------------------------------
Changes (by jmroot):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"ddc26554e6ed49ce8501069b967284739fa6d34e/macports-base"
 ddc26554e6ed49ce8501069b967284739fa6d34e/macports-base] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-base"
 revision="ddc26554e6ed49ce8501069b967284739fa6d34e"
 Add built-in test phase for all ports

 For now, there's just one test, which checks that the files in the
 destroot have the archs that the port is supposed to be building for.
 More can be added in future.

 Running 'port test' on a port that doesn't set 'test.run yes' will no
 longer error, but will run the built-in tests only. Ports that do set
 test.run will run both the built-in tests and the ones defined by the
 Portfile.

 Closes: https://trac.macports.org/ticket/45010
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/45010#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list