Re: port-tclsh script for checking if tests exist

2019-08-12 Thread Clemens Lang
Hi, - On 12 Aug, 2019, at 14:30, Artur Szostak aszos...@partner.eso.org wrote: > Could someone with more knowledge please indicate how to test if a Portfile > has > the test phase coded in Tcl. I need to pragmatically check if a Portfile has > either the test.run set to 'yes' or if the 'test

port-tclsh script for checking if tests exist

2019-08-12 Thread Artur Szostak
Hi all, Could someone with more knowledge please indicate how to test if a Portfile has the test phase coded in Tcl. I need to pragmatically check if a Portfile has either the test.run set to 'yes' or if the 'test {}' code block exists in a Portfile. I was trying to prepare a script to run in