[MacPorts] #69866: Built-in tests should not run pre-test and post-test blocks

MacPorts noreply at macports.org
Tue Apr 30 05:14:48 UTC 2024


#69866: Built-in tests should not run pre-test and post-test blocks
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.9.3
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------

Comment (by ryandesign):

 One port that took a long time to test was curl which was recently fixed
 by upstream improvements to allow testing in parallel.

 It seems very likely to me though that a lot of ports have test suites
 that don't pass. Are we going to fail the CI for that reason? And not even
 try the destroot phase to see if it would succeed? It's not our
 responsibility to fix upstream test suites. I think it will make it more
 likely that people submit fixes that have nothing to do with the test
 suite, the test suite fails, we then don't know if destroot will succeed,
 and we either leave the PR open forever because of the uncertainty or we
 merge it without verifying whether it actually installs.

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


More information about the macports-tickets mailing list