<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi<br>
<br>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
<h3 class="western" align="JUSTIFY">Abstract</h3>
<p align="JUSTIFY"><span style="font-variant: normal"><font
color="#000000"><font face="Arial, sans-serif"><font size="3"><span
style="font-style: normal"><span style="font-weight:
normal">This
SEP details the introduction of a fourth argument for
test_run.</span></span></font></font></font></span></p>
<h3 class="western" align="JUSTIFY">Rationale</h3>
<p style="font-weight: normal" align="JUSTIFY"><span
style="font-variant: normal"><font color="#000000"><font
face="Arial, sans-serif"><font size="3"><span
style="font-style: normal">Continous
integration systems are becoming more and more popular.
Among the
most famous software in this domain, Jenkins (formelly
called Hudson)
has now become the reference.</span></font></font></font></span></p>
<p style="font-weight: normal" align="JUSTIFY"><span
style="font-variant: normal"><font color="#000000"><font
face="Arial, sans-serif"><font size="3"><span
style="font-style: normal">As
part of the quality effort on Scilab, Scilab Enterprises
has setup an
instance of Jenkins available:</span></font></font></font></span></p>
<p style="font-weight: normal" align="JUSTIFY"><a
href="http://build.scilab.org/"><span style="font-variant:
normal"><font color="#000000"><font face="Arial, sans-serif"><font
size="3"><span style="font-style: normal">http://build.scilab.org/</span></font></font></font></span></a></p>
<p style="font-weight: normal" align="JUSTIFY"><span
style="font-variant: normal"><font color="#000000"><font
face="Arial, sans-serif"><font size="3"><span
style="font-style: normal">In
this context, it is important that the Scilab test suite
could be
integrated in Jenkins in order to let Jenkins managing
new test
failing, the amount of tests, etc.</span></font></font></font></span></p>
<p style="font-weight: normal" align="JUSTIFY"><br>
</p>
<p style="font-weight: normal" align="JUSTIFY"><span
style="font-variant: normal"><font color="#000000"><font
face="Arial, sans-serif"><font size="3"><span
style="font-style: normal">This
SEP proposes to introduce a fourth argument to the
test_run function.
This string argument, it would define the path to an XML
file
containing the result of the execution.</span></font></font></font></span></p>
<p style="font-weight: normal" align="JUSTIFY"><span
style="font-variant: normal"><font color="#000000"><font
face="Arial, sans-serif"><font size="3"><span
style="font-style: normal">The
selected format is called xUnit. Already normalized, it
is used by
Junit, PHPUnit, and many other. </span></font></font></font></span>
</p>
<p style="font-weight: normal" align="JUSTIFY"><span
style="font-variant: normal"><font color="#000000"><font
face="Arial, sans-serif"><font size="3"><span
style="font-style: normal">This
will allow a simple integration of Scilab results into
third party
applications.</span></font></font></font></span></p>
<p align="JUSTIFY"><br>
</p>
<h3 class="western" style="font-variant: normal; font-style: normal"
align="JUSTIFY">
<font color="#000000"><font face="Nimbus Sans L, sans-serif"><font
size="4"><b>Syntax</b></font></font></font></h3>
<p style="font-variant: normal; font-style: normal; font-weight:
normal" align="JUSTIFY">
<font color="#000000"> <font face="Nimbus Sans L, sans-serif"><font
size="3">status
= test_run(module,test_name,options, XMLFile)
</font></font></font></p>
<h3 class="western" align="JUSTIFY"><tt><font face="Nimbus Sans L,
sans-serif"><font size="4"><span lang="en-US">Example
Usage</span></font></font></tt></h3>
<p style="font-variant: normal; font-style: normal; font-weight:
normal" align="JUSTIFY">
<font color="#000000"> <font face="Nimbus Sans L, sans-serif"><font
size="3">status
= test_run(“core”,[],[], TMPDIR+/”results-test-core.xml”)
</font></font></font></p>
<br>
<title></title>
<meta name="GENERATOR" content="LibreOffice 3.5 (Linux)">
<style type="text/css">
<!--
@page { margin: 2cm }
H3 { margin-bottom: 0.21cm }
H3.western { font-family: "Nimbus Sans L", sans-serif }
P { margin-bottom: 0.21cm }
-->
</style><br>
Thanks for the comments,<br>
Sylvestre<br>
<br>
<pre class="moz-signature" cols="72">--
Sylvestre Ledru
Operations Manager / Community Manager
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
<a class="moz-txt-link-freetext" href="http://www.scilab-enterprises.com">http://www.scilab-enterprises.com</a>
</pre>
</body>
</html>