⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config-tool.sgml

📁 eCos操作系统源码
💻 SGML
📖 第 1 页 / 共 4 页
字号:
</FIGURE></SECT1></CHAPTER><!-- }}} -->  <!-- {{{ Execution                      --><CHAPTER id="config-tool-test-execution"><!--<conditionaltext>--><TITLE>Execution</TITLE><PARA>Test executables that have been linked using the Build/Testsoperation against the current configuration can be executed by selecting <!--<conditionaltext>--><EMPHASIS>Tools</EMPHASIS>-&gt;<EMPHASIS>RunTests<!--<conditionaltext>--></EMPHASIS>.</PARA><PARA>When tests are run, the <application>Configuration Tool</application> looksfor a platform name corresponding to the currently loaded hardware template.If no such platform is found, a dialog will be displayed for youto define one; this dialog is similar to that displayed by the <EMPHASIS>Add</EMPHASIS> functionin the <EMPHASIS>Tools-&gt;Platforms</EMPHASIS> dialog, butin this case the platform name cannot be changed.</PARA><PARA>When a test run is invoked, a property sheet is displayed,comprising three tabs: <EMPHASIS>Executables</EMPHASIS>, <EMPHASIS>Output</EMPHASIS> and <EMPHASIS>Summary</EMPHASIS>.</PARA><PARA>Note that the property sheet is resizable.</PARA><PARA>Three buttons appear on the property sheet itself: <EMPHASIS>Run/Stop</EMPHASIS>, <EMPHASIS>Close</EMPHASIS> and <EMPHASIS>Properties</EMPHASIS>.</PARA><PARA>The <EMPHASIS>Run</EMPHASIS> button is used to initiate atest run. Those tests selected on the <EMPHASIS>Executables</EMPHASIS> tabare run, and the output recorded on the <EMPHASIS>Output</EMPHASIS> and <EMPHASIS>Summary</EMPHASIS> tabs.During the course of a run, the <EMPHASIS>Run</EMPHASIS> buttonchanges to &ldquo;Stop&rdquo;. The button may be used to interrupta test run at any point.</PARA><SECT1 id="config-tool-test-properties"><TITLE>Properties</TITLE><PARA>The <EMPHASIS>Properties</EMPHASIS> button is used to changethe connectivity properties for the test run.</PARA><FIGURE><TITLE>Properties dialog box</TITLE><GRAPHIC ENTITYREF="graphic25"></GRAPHIC></FIGURE><SECT2><TITLE>Download Timeout</TITLE><PARA>	    This group of controls serves to set the maximum time that	    is allowed for downloading a test to the target board. If	    the time is exceeded, the test will be deemed to have	    failed for reason of &ldquo;Download Timeout&rdquo; and	    the execution of that particular test will be abandoned.	    This option only applies to tests run on hardware, not to	    those executed in a simulator. Times are in units of	    elapsed seconds.</PARA><PARA>Three options are available using the drop-down	    list:</PARA><ITEMIZEDLIST><LISTITEM><PARA>Calculated from file size - an estimate of the maximumtime required for download is made using the (stripped) executablesize and the currently used baud rate</PARA></LISTITEM><LISTITEM><PARA>			Specified - a user-specified value may be entered inthe adjacent edit box</PARA></LISTITEM><LISTITEM><PARA>			None - no maximum download time is to be applied.</PARA></LISTITEM></ITEMIZEDLIST></SECT2><SECT2><TITLE>Run time Timeout</TITLE><PARA>This group of controls serves to set the maximum time	    that is allowed for executing a test on the target board	    or in a simulator. If the time is exceeded, the test will	    be deemed to have failed for reason of	    &ldquo;Timeout&rdquo; and the execution of that particular	    test will be abandoned. In the case of hardware, the time	    is measured in elapsed seconds: in the case of a simulator	    it is in CPU seconds.</PARA><PARA>Three options are available using the drop-down	  list:</PARA><ITEMIZEDLIST><LISTITEM><PARA>None - no maximum download time is to be		applied.</PARA></LISTITEM><LISTITEM><PARA>Specified - a user-specified value may be		entered in the adjacent edit box</PARA></LISTITEM><LISTITEM><PARA>Default - a default value of 30 seconds is		used</PARA></LISTITEM></ITEMIZEDLIST></SECT2><SECT2><TITLE>Connection</TITLE><PARA>The <EMPHASIS>Connection</EMPHASIS> controls may be used	    to specify how the target board is to be accessed.</PARA><PARA>If the target board is connected using a serial cable, the <EMPHASIS>Serial</EMPHASIS> radiobutton should be checked. In this case you can select a port (COM1,COM2, &hellip;) and an appropriate baud rate using drop-list boxes.</PARA><PARA>If the target board is accessed remotely using GDB remoteprotocol, the &ldquo;TCP/IP&rdquo; radio button shouldbe checked. In this case you can select a host name and TCP/IP portnumber using edit boxes.</PARA></SECT2><SECT2><TITLE>Executables Tab</TITLE><PARA>This is used to adjust the set of tests available for execution.A check box against each executable name indicates whether thatexecutable will be included when the <EMPHASIS>Run</EMPHASIS> buttonis pressed. The <EMPHASIS>Check All</EMPHASIS> and <EMPHASIS>UncheckAll</EMPHASIS> buttons may be used to check or uncheck all items.</PARA><PARA>When the property sheet is first displayed, it will be pre-populatedwith those test executables that have been linked using the Build/Testsoperation against the current configuration. </PARA><FIGURE><TITLE>Run tests </TITLE><GRAPHIC ENTITYREF="graphic27"></GRAPHIC></FIGURE><PARA>You can right-click in the window to display a context menucontaining <EMPHASIS>Add</EMPHASIS> and <EMPHASIS>Remove</EMPHASIS> items.Clicking <EMPHASIS>Remove</EMPHASIS>  will remove those executablesselected. Clicking <EMPHASIS>Add</EMPHASIS> will display a dialogbox that allows you to add to the set of items. Equivalently the <EMPHASIS>Add</EMPHASIS> buttonmay be used to add executables, and the <EMPHASIS>DEL</EMPHASIS> keymay be used to remove them.</PARA><PARA>You can use the <EMPHASIS>Add from Folder</EMPHASIS> buttonto add a number of executables in a specified folder (optionallyincluding subfolders, if you click on <EMPHASIS>Yes</EMPHASIS> whenasked).</PARA><FIGURE><TITLE>Add files from folder </TITLE><GRAPHIC ENTITYREF="graphic28"></GRAPHIC></FIGURE><!--<PARA>The &ldquo;Add from subfolders&rdquo; check box shouldbe checked if you wish the search for executables to descend intosubfolders (in the example above the whole of the C drive wouldbe searched).</PARA><PARA>The &ldquo;Files of type&rdquo; edit box should be usedto specify the extension of those files to be matched &lsqb;forexample, &ldquo;*.exe&rdquo;&rsqb;.</PARA>--></SECT2><SECT2><TITLE>Output Tab</TITLE><PARA>This tab is used to display the output from running tests.The output can be saved to a file or cleared by means of the popupmenu displayed when you right-click in the window.</PARA></SECT2><SECT2><TITLE>Summary Tab</TITLE><PARA>This tab is used to display a record, in summary form, ofthose tests executed. For each execution, the following informationis displayed:</PARA><ITEMIZEDLIST><LISTITEM><PARA>			<EMPHASIS>Time</EMPHASIS> - the date and time of execution</PARA></LISTITEM><LISTITEM><PARA>			<EMPHASIS>Host</EMPHASIS> - the host name of the machinefrom which the test was downloaded</PARA></LISTITEM><LISTITEM><PARA>			<EMPHASIS>Platform</EMPHASIS> - the platform on whichthe test was executed</PARA></LISTITEM><LISTITEM><PARA>			<EMPHASIS>Executable</EMPHASIS> - the executable (filename) of the test executed</PARA></LISTITEM><LISTITEM><PARA>			<EMPHASIS>Status</EMPHASIS> - the result of executingthe test. This will be one of the following:</PARA></LISTITEM><LISTITEM><PARA>				Not started</PARA></LISTITEM><LISTITEM><PARA>No result</PARA></LISTITEM><LISTITEM><PARA>Inapplicable</PARA></LISTITEM><LISTITEM><PARA>				Pass</PARA></LISTITEM><LISTITEM><PARA>DTimeout</PARA></LISTITEM><LISTITEM><PARA>Timeout</PARA></LISTITEM><LISTITEM><PARA>Cancelled</PARA></LISTITEM><LISTITEM><PARA>				Fail</PARA></LISTITEM><LISTITEM><PARA>Assert fail</PARA></LISTITEM><LISTITEM><PARA>			<EMPHASIS>Size</EMPHASIS> - the size &lsqb;stripped/unstripped&rsqb; ofthe test executed</PARA></LISTITEM><LISTITEM><PARA>			<EMPHASIS>Download</EMPHASIS> - the download time &lsqb;mm:ss/mm:ss&rsqb; used.The first of the two times displayed represents the actual timeused: the second the limit time.</PARA></LISTITEM><LISTITEM><PARA>			<EMPHASIS>Elapsed</EMPHASIS> - the elapsed time &lsqb;mm:ss&rsqb; used.</PARA></LISTITEM><LISTITEM><PARA>			<EMPHASIS>Execution</EMPHASIS> - the execution time &lsqb;mm:ss/mm:ss&rsqb; used. The first of thetwo times displayed represents the actual time used: the secondthe limit time.</PARA></LISTITEM></ITEMIZEDLIST><PARA>The output can be saved to a file or cleared by means of thepopup menu displayed when you right-click in the window.</PARA></SECT2></SECT1></CHAPTER><!-- }}} -->  <!-- {{{ Creating a Shell               --><CHAPTER id="config-tool-creating-a-shell"><TITLE>Creating a Shell</TITLE><PARA>To call up a shell window, select <EMPHASIS>Tools</EMPHASIS>-&gt;<EMPHASIS>Shell</EMPHASIS>.Under Windows, you will get a Cygwin shell similar to the one below. On Linux, you willget a standard Linux shell window.</PARA><GRAPHIC ENTITYREF="graphic29"></GRAPHIC><SECT1 id="config-tool-keyboard-accelerators"><TITLE>Keyboard Accelerators</TITLE><PARA>The following table presents the list of keyboard acceleratorsthat can be used with the <application>Configuration Tool</application>. </PARA><table id="keyboard-accelerators"><title>Keyboard accelerators</title><tgroup cols="2">	  <thead>	    <row>	      <entry>Accelerator</entry>	      <entry>Action</entry>	      <entry>Remarks</entry>	    </row>	  </thead><tbody><row><entry><emphasis>Alt+1</emphasis></entry><entry>hide/show properties window</entry><entry></entry></row><row><entry><emphasis>Alt+2</emphasis></entry><entry>hide/show output window</entry><entry></entry></row><row><entry><emphasis>Alt+3</emphasis></entry><entry>hide/show short description window</entry><entry></entry></row><row><entry><emphasis>Alt+4</emphasis></entry><entry>hide/show conflicts window</entry><entry></entry></row><row><entry><emphasis>Ctrl+A</emphasis></entry><entry>select all</entry><entry>outputwindow and in-cell editing</entry></row><row><entry><emphasis>Ctrl+C</emphasis></entry><entry>copy</entry><entry>output windowand in-cell editing</entry></row><row><entry><emphasis>Ctrl+F</emphasis></entry><entry>Edit-&gt;Find</entry><entry></entry></row><row><entry><emphasis>Ctrl+N</emphasis></entry><entry>File-&gt;New</entry><entry></entry></row><row><entry><emphasis>Ctrl+O</emphasis></entry><entry>File-&gt;Open</entry><entry></entry></row><row><entry><emphasis>Ctrl+S</emphasis></entry><entry>File-&gt;Save</entry><entry></entry></row><row><entry><emphasis>Ctrl+V</emphasis></entry><entry>Paste</entry><entry>in-cell editingonly</entry></row><row><entry><emphasis>Ctrl+X</emphasis></entry><entry>Cut</entry><entry>in-cell-editingonly</entry></row><row><entry><emphasis>Ctrl+Z</emphasis></entry><entry>Undo</entry><entry>in-cell editingonly</entry></row><row><entry><emphasis>F1</emphasis></entry><entry>Context-sensitive help</entry><entry></entry></row><row><entry><emphasis>F3</emphasis></entry><entry>Find next</entry><entry></entry></row><row><entry><emphasis>F7</emphasis></entry><entry>Build-&gt;Library</entry><entry></entry></row><row><entry><emphasis>Shift+F7</emphasis></entry><entry>Build-&gt;Tests</entry><entry></entry></row><row><entry><emphasis>Alt+F6</emphasis></entry><entry>View-&gt;Next window</entry><entry></entry></row><row><entry><emphasis>Shift+Alt+0</emphasis></entry><entry>View-&gt;Previous window</entry><entry></entry></row><row><entry><emphasis>Shift+Ins</emphasis></entry><entry>Paste</entry><entry>in-cell editingonly</entry></row><row><entry><emphasis>Shift+F10</emphasis></entry><entry>Display context menu</entry><entry>Configurationwindow</entry></row><row><entry><emphasis>Alt+Enter</emphasis></entry><entry>Display properties dialog box</entry><entry>Configuration window</entry></row><row><entry><emphasis>&gt;</emphasis></entry><entry>Increment item value</entry><entry>Configurationwindow</entry></row><row><entry>&lt;</entry><entry>Decrementitem value</entry><entry>Configuration window</entry></row><row><entry><emphasis>Space</emphasis></entry><entry>Toggle item value</entry><entry>Configurationwindow</entry></row>	  </tbody>	</tgroup>      </table></SECT1></CHAPTER><!-- }}} -->    </PART><!-- Keep this comment at the end of the fileLocal variables:mode: sgmlsgml-omittag:nilsgml-shorttag:tsgml-namecase-general:tsgml-general-insert-case:lowersgml-minimize-attributes:nilsgml-always-quote-attributes:tsgml-indent-step:2sgml-indent-data:tsgml-parent-document:("user-guide.sgml" "book" "part")sgml-exposed-tags:nilsgml-local-catalogs:nilsgml-local-ecat-files:nilEnd:-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -