[MacPorts] #64241: python portgroup: add opt-in test support

MacPorts noreply at macports.org
Sun Jun 12 00:32:08 UTC 2022


#64241: python portgroup: add opt-in test support
--------------------------+---------------------
  Reporter:  mascguy      |      Owner:  mascguy
      Type:  enhancement  |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.1
Resolution:  fixed        |   Keywords:  tests
      Port:  python       |
--------------------------+---------------------
Changes (by reneeotten):

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


Comment:

 In [changeset:"ce0951b4738f44d7413c05bc5f3a5e7b55b1f42f/macports-ports"
 ce0951b4738f44d7413c05bc5f3a5e7b55b1f42f/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="ce0951b4738f44d7413c05bc5f3a5e7b55b1f42f"
 python PG: add code for setting-up a test phase

 - add  "python.test_framework" option to the python PG. Currently
   supported frameworks are: "pytest" (default), "nose", and "unittest".

 When "test.run yes" is set, a test-phase will be set-up for the pyXY
 subports. The required testing-framework dependency is added, PYTHONPATH
 is set, and the test.cmd / test.args are set depending on the selected
 framework.

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

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


More information about the macports-tickets mailing list