gnuk/ChibiOS_2.0.8/docs/html/testsuite.html

73 lines
4.8 KiB
HTML
Raw Normal View History

2010-08-10 03:11:02 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ChibiOS/RT: Testing Strategy</title>
<link href="custom.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<table style="text-align: center; width: 100%;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="width: 80px;"><img alt="ChibiOS/RT Logo" src="logo_small.png"></td>
<td><big><big>ChibiOS/RT</big></big><br><br>Architecture - Reference Manual - Guides</td>
<td style="width: 80px;"></td>
</tr>
</tbody>
</table>
<hr size="1">
2010-11-22 05:53:37 +00:00
<!-- Generated by Doxygen 1.7.1 -->
2010-08-10 03:11:02 +00:00
<div class="navigation" id="top">
<div class="tabs">
2010-11-22 05:53:37 +00:00
<ul class="tablist">
2010-08-10 03:11:02 +00:00
<li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
2010-11-22 05:53:37 +00:00
<div class="navpath">
<ul>
<li><a class="el" href="main.html">ChibiOS/RT</a> </li>
</ul>
2010-08-10 03:11:02 +00:00
</div>
</div>
2010-11-22 05:53:37 +00:00
<div class="header">
<div class="headertitle">
<h1>Testing Strategy </h1> </div>
</div>
2010-08-10 03:11:02 +00:00
<div class="contents">
2010-11-22 05:53:37 +00:00
<h2>Description</h2>
2010-08-10 03:11:02 +00:00
<p>Most of the ChibiOS/RT demos link a set of software modules (test suite) in order to verify the proper working of the kernel, the port and the demo itself.</p>
<h2>Strategy by Component</h2>
<p>The OS components are tested in various modes depending on their importance:</p>
<ul>
<li><b>Kernel</b>. The kernel code is subject to rigorous testing. The test suite aims to test <b>all</b> the kernel code and reach a code coverage as close to 100% as possible. In addition to the code coverage, the kernel code is tested for <b>functionality</b> and benchmarked for <b>speed</b> and <b>size</b> before each stable release. In addition to the code coverage and functional testing a <b>batch compilation test</b> is performed before each release, the kernel is compiled by alternatively enabling and disabling all the various configuration options, the kernel code is expected to compile without errors nor warnings and execute the test suite without failures (a specific simulator is used for this execution test, it is done automatically by a script because the entire sequence can take hours).<br/>
All the tests results are included as reports in the OS distribution under <code></code>./docs/reports.</li>
<li><b>Ports</b>. The port code is tested by executing the kernel test suite on the target hardware. A port is validated only if it passes all the tests. Speed and size benchmarks for all the supported architectures are performed, both size and speed regressions are <b>monitored</b>.</li>
<li><b>HAL</b>. The HAL high level code and device drivers implementations are tested by use in the various demos and/or by users.</li>
<li><b>Various</b>. The miscellaneous code is tested by use in the various demos and/or by users.</li>
<li><b>External Code</b>. Not tested, external libraries or components are used as-is or with minor patching where required, problems are usually reported upstream.</li>
</ul>
<h2>Kernel Test Suite</h2>
<p>The kernel test suite is divided in modules or test sequences. Each Test Module performs a series of tests on a specified kernel subsystem or subsystems and can report a failure/success status and/or a performance index as the test suite output.<br/>
The test suite is usually activated in the demo applications by pressing a button on the target board, see the readme into the various demos directories. The test suite output is usually sent through a serial port and can be examined by using a terminal emulator program.</p>
<h2>Kernel Test Modules</h2>
<ul>
2010-11-22 05:53:37 +00:00
<li><a class="el" href="test_threads.html">Threads and Scheduler test</a></li>
<li><a class="el" href="test_dynamic.html">Dynamic APIs test</a></li>
<li><a class="el" href="test_msg.html">Messages test</a></li>
<li><a class="el" href="test_sem.html">Semaphores test</a></li>
<li><a class="el" href="test_mtx.html">Mutexes test</a></li>
<li><a class="el" href="test_events.html">Events test</a></li>
<li><a class="el" href="test_mbox.html">Mailboxes test</a></li>
<li><a class="el" href="test_queues.html">I/O Queues test</a></li>
<li><a class="el" href="test_heap.html">Memory Heap test</a></li>
<li><a class="el" href="test_pools.html">Memory Pools test</a></li>
<li><a class="el" href="test_benchmarks.html">Kernel Benchmarks</a></li>
2010-08-10 03:11:02 +00:00
</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>
2010-11-30 04:54:43 +00:00
Generated on Sun Nov 28 2010 14:09:56 for ChibiOS/RT by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.7.1</small></address>
2010-08-10 03:11:02 +00:00
</body>
</html>