Re: Where do I find a good example of a tests variant (which is really installing the tests on the system)?

2014-04-11 Thread MK-MacPorts
On 21 Mar 2014, at 00:14 , Ryan Schmidt ryandes...@macports.org wrote: I’m not aware of any ports that do that, or any tests that are designed to work that way. Only recently I came across the test phase” which can be defined in a portfile. I’ve introduced properly running tests for

Re: Where do I find a good example of a tests variant (which is really installing the tests on the system)?

2014-04-11 Thread Eric Gallager
On Fri, Apr 11, 2014 at 6:52 PM, mk-macpo...@techno.ms wrote: On 21 Mar 2014, at 00:14 , Ryan Schmidt ryandes...@macports.org wrote: I'm not aware of any ports that do that, or any tests that are designed to work that way. Only recently I came across the test phase which can be defined in a

Re: Where do I find a good example of a tests variant (which is really installing the tests on the system)?

2014-04-11 Thread MK-MacPorts
Hi Eric, thanks for letting me know about those two tickets, to which I CC’ed myself just now. :-) I am not so sure that you can actually INSTALL all tests with any software… independent on whether you actually might now want to do that. The two-step-install I use with kmymoney4-devel +tests

Where do I find a good example of a tests variant (which is really installing the tests on the system)?

2014-03-20 Thread MK-MacPorts
I would like to introduce a tests variant for a port. Can someone point me to a port which successfully installs a test variant? I know that I can build and run tests when building ports (i.e. when I only run “sudo port build; cd build; ctest …”). But I want that all needed test files get

Re: Where do I find a good example of a tests variant (which is really installing the tests on the system)?

2014-03-20 Thread Ryan Schmidt
On Mar 20, 2014, at 03:07, mk-macpo...@techno.ms wrote: I would like to introduce a tests variant for a port. Can someone point me to a port which successfully installs a test variant? I know that I can build and run tests when building ports (i.e. when I only run “sudo port build; cd

Re: Where do I find a good example of a tests variant (which is really installing the tests on the system)?

2014-03-20 Thread MK-MacPorts
On 21 Mar 2014, at 00:14 , Ryan Schmidt ryandes...@macports.org wrote: I’m not aware of any ports that do that, or any tests that are designed to work that way. OK, in just now I have made it work by simply chown'ing the port’s work directory and executing ctest by the logged in user. That