#45010: RFE: stop "port test" immediately if no test phase defined --------------------------+-------------------------------- Reporter: dstrubbe@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.1 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by jmr@…): You shouldn't throw an error in mportexec, it's meant to return 1 on failure. After the log has been pushed, you need to clean up by popping it before you return. (So maybe do this check before pushing the log.) The comment talks about dependents, which doesn't make much sense. Maybe also consider whether this case should be considered a failure at all. Does it make more sense to say "We successfully ran all 0 tests that this port has" rather than "We failed to run any tests"? -- Ticket URL: <https://trac.macports.org/ticket/45010#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X