<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi all,</p>
<p><br>
</p>
<p>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 port-tclsh, by deciphering what the MacPorts code is doing. But without the design documents, trying to reverse engineer this is proving to be a challenge.</p>
<p><br>
</p>
<p>Best regards.</p>
<p><br>
</p>
<p>Artur<br>
</p>
<p><br>
</p>
</div>
</body>
</html>