<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.finkproject.org/index.php?action=history&amp;feed=atom&amp;title=Fink%3AMajor_New_Feature_Plans%3ATest_suite</id>
	<title>Fink:Major New Feature Plans:Test suite - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.finkproject.org/index.php?action=history&amp;feed=atom&amp;title=Fink%3AMajor_New_Feature_Plans%3ATest_suite"/>
	<link rel="alternate" type="text/html" href="https://wiki.finkproject.org/index.php?title=Fink:Major_New_Feature_Plans:Test_suite&amp;action=history"/>
	<updated>2026-05-14T03:28:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://wiki.finkproject.org/index.php?title=Fink:Major_New_Feature_Plans:Test_suite&amp;diff=80&amp;oldid=prev</id>
		<title>Dmacks: Reverted edit of RymWk6, changed back to last version by Dmacks</title>
		<link rel="alternate" type="text/html" href="https://wiki.finkproject.org/index.php?title=Fink:Major_New_Feature_Plans:Test_suite&amp;diff=80&amp;oldid=prev"/>
		<updated>2007-06-11T18:40:13Z</updated>

		<summary type="html">&lt;p&gt;Reverted edit of RymWk6, changed back to last version by Dmacks&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Fink_Header}}&lt;br /&gt;
&lt;br /&gt;
It sounds like this feature needs to be able to do, at a minimum,  &lt;br /&gt;
the following in an info file:&lt;br /&gt;
*Add extra dependencies for running the tests&lt;br /&gt;
*Behave differently during compilation (ConfigureParams, CompileScript)&lt;br /&gt;
*Specify a script which is run immediately after building and which will invoke the test suite and do some degree of interpretation of the results (exit status 0/1/2 for pass/warning/failure, for instance)&lt;br /&gt;
&lt;br /&gt;
Here's my idea for how to add this to the .info syntax in a backwards-compatible matter.  Define a new field, InfoTest, which will be ignored unless running in test mode (either enabled as part of -m or with a new option).  (Actually, dmacks says that unknown fields aren't considered a problem, so maybe we don't need these to be in a block.)&lt;br /&gt;
&lt;br /&gt;
Here's what this field can contain:&lt;br /&gt;
*&amp;lt;tt&amp;gt;TestDepends&amp;lt;/tt&amp;gt; (effectively appended to &amp;lt;tt&amp;gt;BuildDepends&amp;lt;/tt&amp;gt;, probably also want a corresponding &amp;lt;tt&amp;gt;TestConflicts&amp;lt;/tt&amp;gt; just in case)&lt;br /&gt;
*&amp;lt;tt&amp;gt;TestConfigureParams&amp;lt;/tt&amp;gt; (appended to &amp;lt;tt&amp;gt;ConfigureParams&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*&amp;lt;s&amp;gt;&amp;lt;tt&amp;gt;TestCompileScript&amp;lt;/tt&amp;gt; (&amp;lt;b&amp;gt;replaces&amp;lt;/b&amp;gt; &amp;lt;tt&amp;gt;CompileScript&amp;lt;/tt&amp;gt;; appending to &amp;lt;tt&amp;gt;CompileScript&amp;lt;/tt&amp;gt; isn't useful, that can just go in &amp;lt;tt&amp;gt;TestScript&amp;lt;/tt&amp;gt;)&amp;lt;/s&amp;gt; You can just specify a CompileScript inside the InfoTest instead.&lt;br /&gt;
*&amp;lt;tt&amp;gt;TestScript&amp;lt;/tt&amp;gt; (run the tests and exit with 0/1/&amp;amp;gt;1 for pass/warning/error)&lt;br /&gt;
*&amp;lt;tt&amp;gt;TestSource&amp;lt;/tt&amp;gt; and related fields (treated as &amp;quot;higher N than the highest &amp;lt;tt&amp;gt;Source'''N'''&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*&amp;lt;tt&amp;gt;TestSuiteSize&amp;lt;/tt&amp;gt;: Optional.  Valid values are &amp;lt;tt&amp;gt;small&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;medium&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;large&amp;lt;/tt&amp;gt;.  Some day we might want to provide a way for users to express &amp;quot;run the test suite by default if it won't take too long&amp;quot;.&lt;br /&gt;
It can also contain anything from the regular .info file and it would be interpreted normally, replacing the value outside the InfoTest.&lt;br /&gt;
&lt;br /&gt;
{{Fink_Header}}&lt;br /&gt;
&lt;br /&gt;
[[Category: Fink|New Feature Plans Test suite]]&lt;br /&gt;
[[Category: Fink_Roadmap|New Feature Plans Test suite]]&lt;br /&gt;
[[Category: Fink Infofile Syntax|New Feature Plans Test suite]]&lt;/div&gt;</summary>
		<author><name>Dmacks</name></author>
	</entry>
</feed>