Re: it might be useful to be able to enable specific configure commands only when running tests

2020-01-20 Thread Ken Cunningham
I do that too, but I think it's just these kinds of "insider tricks" that make people nutty when using Macports. if it were possible, it would be nice if it just worked as people expect it to work, and enabled then ran the tests just on the port you wanted to test. Perhaps "sudo port test"

Re: it might be useful to be able to enable specific configure commands only when running tests

2020-01-19 Thread Christopher Jones
Hi, All you need to do is make sure the deps are all installed *before* running the tests for the specific port in question. I do this with > sudo port install XYZ … > sudo port uninstall XYZ > sudo port install XYZ +test Chris > On 18 Jan 2020, at 11:37 pm, Ken Cunningham > wrote: > > It

Re: it might be useful to be able to enable specific configure commands only when running tests

2020-01-18 Thread Ryan Schmidt
On Jan 18, 2020, at 17:37, Ken Cunningham wrote: > It might be helpful if there was a configure command in the portfile that was > only enabled when “port test” was run. > > Specifically, for example, something that would enable the following command: > > configure.args-replace

it might be useful to be able to enable specific configure commands only when running tests

2020-01-18 Thread Ken Cunningham
It might be helpful if there was a configure command in the portfile that was only enabled when “port test” was run. Specifically, for example, something that would enable the following command: configure.args-replace --disable-tests --enable-tests only when tests were being run. I realize at