<div dir="ltr"><div>I drained my makefiles branch.  For swantest it contains the following fixes:<br><br></div><div>- if there doesn&#39;t seem to be a directory for a test it skips it, logging an error<br></div><div>A test without a directory is the root cause of one of the recent swantest crashes.<br><br></div><div>- if a test has already been run, then it logs a warning that the test will be skipped<br></div><div>While the logic around retrying and skipping previous tests still seems sketchy (trace how output_dir gets modified), at least it isn&#39;t quietly skipping stuff for no apparent reason<br><br></div><div>- a very very old log call is (hopefully) fixed<br></div><div>I fixed the root cause so the code isn&#39;t being executed :-/<br><br></div><div>In addition, there are changes to add the following options:<br></div><div><br></div><div>--include &lt;regex&gt; (not so well tested)<br>--exclude &lt;regex&gt; (in use)<br><br></div><div>These options let you filter which tests are run.  For instance:<br></div><div>    --exclude &#39;wip|bad|incomplete&#39;<br></div><div>will filter out test that match that pattern.  Conversely --include should to the reverse and only include tests that match, for instance:<br></div><div>    --include &#39;ikev2&#39;<br></div><div>to just run ikev2 tests.<br><br></div><div>Implementation note.  It&#39; is using python&#39;s un-anchored pattern match (re.search()) against all the fields of TESTLIST so is very liberal.<br><br></div><div>--testingdir &lt;directory&gt; (experimental)<br><br></div><div>Instead of /testing, use &lt;directory&gt; as the KVM&#39;s testing directory.  While this technically works, the actual tests may not cooperate.<br><br></div><div>Andrew<br><br></div><div>PS: One of my runs testing this deadlocked with a backtrace.  Guess I get to look at that :-(</div></div>