[MacPorts] #42731: RFE: Add a conf option to automatically run test phase during normal install process
MacPorts
noreply at macports.org
Wed Mar 5 08:46:52 PST 2014
#42731: RFE: Add a conf option to automatically run test phase during normal
install process
-------------------------+--------------------------------
Reporter: egall@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.2.1
Keywords: | Port:
-------------------------+--------------------------------
While MacPorts currently has some support for running test suites for
ports, this is hidden in the `port test` command, which users must run
manually separately from the normal install process. It would be much more
convenient for users who are worried about the integrity of their software
if they could just set something like
{{{
force_run_testsuites yes
}}}
in their macports.conf file. It would also be useful to have a Portfile
option to override this, for example:
{{{
test.force no
}}}
to revert to the current behavior of only running the test suite manually
with `port test`, regardless of what the user has set in their conf file
(in case the testsuite is broken, but the Portfile developer still wants
to be able to work on fixing it).
Also, if this change were made, adding a `depends_test` type of dependency
as per #38208 would probably become more important.
--
Ticket URL: <https://trac.macports.org/ticket/42731>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list