1 <!-- Copyright (C) 2003 Red Hat, Inc. -->
2 <!-- This material may be distributed only subject to the terms -->
3 <!-- and conditions set forth in the Open Publication License, v1.0 -->
4 <!-- or later (the latest version is presently available at -->
5 <!-- http://www.opencontent.org/openpub/). -->
6 <!-- Distribution of the work or derivative of the work in any -->
7 <!-- standard (paper) book form is prohibited unless prior -->
8 <!-- permission is obtained from the copyright holder. -->
12 >Running an eCos Test Case</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos User Guide"
20 HREF="ecos-user-guide.html"><LINK
22 TITLE="Programming With eCos"
23 HREF="user-guide-programming.html"><LINK
25 TITLE="Ecosconfig on Windows and Linux Quick Start"
26 HREF="using-ecosconfig-on-linux.html"><LINK
28 TITLE="Using the command line"
29 HREF="using-commandline-testcase.html"></HEAD
40 SUMMARY="Header navigation table"
57 HREF="using-ecosconfig-on-linux.html"
71 HREF="using-commandline-testcase.html"
84 NAME="RUNNING-AN-ECOS-TEST-CASE">Chapter 12. Running an <SPAN
97 HREF="running-an-ecos-test-case.html#USING-CONFIGTOOL-TESTCASE"
100 >Configuration Tool</SPAN
105 HREF="using-commandline-testcase.html"
106 >Using the command line</A
110 HREF="testing-filters.html"
117 HREF="using-configtool-windows-linux.html"
118 >the Section called <I
119 >Configuration Tool on Windows and Linux Quick Start</I
122 HREF="using-ecosconfig-on-linux.html"
123 >the Section called <I
124 >Ecosconfig on Windows and Linux Quick Start</I
126 > you created the <SPAN
130 as part of the build process. Now it is time to try and run one.</P
136 NAME="USING-CONFIGTOOL-TESTCASE">Using the <SPAN
138 >Configuration Tool</SPAN
141 >Test executables that have been linked using the
148 > operation against the current
149 configuration can be executed by selecting <SPAN
158 >When a test run is invoked, a property sheet is displayed, see
160 HREF="running-an-ecos-test-case.html#PROGRAMMING-RUN-TESTS"
169 > button and then find and check just one test,
177 NAME="PROGRAMMING-RUN-TESTS"><P
179 >Figure 12-1. Run tests</B
183 SRC="pix/run-tests.png"></P
193 communications with the target. This will bring up a properties dialog
195 HREF="running-an-ecos-test-case.html#PROGRAMMING-RUN-PROPERTIES"
198 connected the target board via a serial cable, check the
205 > radio button, and select the serial port
206 and baud rate for the board. If the target is connected via the
207 network select the <SPAN
213 > button and enter the IP
214 address that the board has been given, and the port number (usually
219 NAME="PROGRAMMING-RUN-PROPERTIES"><P
221 >Figure 12-2. Properties dialog box</B
225 SRC="pix/ch-properties-dialog.png"></P
228 >Click OK on this dialog and go back to the <SPAN
235 > dialog. Press the <SPAN
242 the selected test will be downloaded and run. The
249 > tab will show you how this is
250 progressing. If it seems to stop for a long time, check that the
251 target board is correctly connected, and that <SPAN
255 configured -- especially the start-up type.</P
257 >When the program runs you should see a couple of line similar to this appear:</P
265 CLASS="PROGRAMLISTING"
266 >PASS:<Binary Semaphore 0 OK>
267 EXIT:<done></PRE
272 >This indicates that the test has run successfully.</P
275 HREF="config-tool-test-execution.html"
286 SUMMARY="Footer navigation table"
297 HREF="using-ecosconfig-on-linux.html"
306 HREF="ecos-user-guide.html"
315 HREF="using-commandline-testcase.html"
325 >Ecosconfig on Windows and Linux Quick Start</TD
331 HREF="user-guide-programming.html"
339 >Using the command line</TD