mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-28 07:17:32 +00:00
* Reformat to fit 80 cols
* Add missing <li> tags git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16828 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -28,7 +28,8 @@
|
|||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<div class="doc_author">
|
<div class="doc_author">
|
||||||
<p>Written by John T. Criswell</p>
|
<p>Written by John T. Criswell and <a
|
||||||
|
href="http://llvm.x10sys.com/rspencer">Reid Spencer</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--=========================================================================-->
|
<!--=========================================================================-->
|
||||||
@@ -220,16 +221,16 @@ programs with multiple source files. Large benchmarks and whole applications
|
|||||||
go here.</p></li>
|
go here.</p></li>
|
||||||
|
|
||||||
<li><tt>llvm-test/External</tt>
|
<li><tt>llvm-test/External</tt>
|
||||||
<p>The External directory contains Makefiles for building code that is
|
<p>The External directory contains Makefiles for building code that is external
|
||||||
external to (i.e. not distributed with) LLVM. The most prominent member
|
to (i.e., not distributed with) LLVM. The most prominent members of this
|
||||||
of this directory is the SPEC 2000 benchmark suite. The presence and
|
directory are the SPEC 95 and SPEC 2000 benchmark suites. The presence and
|
||||||
location of these external programs is configured by the llvm-test
|
location of these external programs is configured by the llvm-test
|
||||||
<tt>configure</tt> script.</p></li>
|
<tt>configure</tt> script.</p></li>
|
||||||
|
|
||||||
<li><tt>llvm/test/QMTest</tt>
|
<li><tt>llvm/test/QMTest</tt>
|
||||||
<p>This directory contains the QMTest information files. Inside this
|
<p>This directory contains the QMTest information files. Inside this directory
|
||||||
directory are QMTest administration files and the Python code that
|
are QMTest administration files and the Python code that implements the LLVM
|
||||||
implements the LLVM test and database classes.</p>
|
test and database classes.</p></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@@ -241,34 +242,32 @@ implements the LLVM test and database classes.</p>
|
|||||||
|
|
||||||
<div class="doc_text">
|
<div class="doc_text">
|
||||||
|
|
||||||
<p>The LLVM test suite is partially driven by QMTest and partially
|
<p>The LLVM test suite is partially driven by QMTest and partially driven by GNU
|
||||||
driven by GNU Make. Specifically, the Features and Regression tests
|
Make. Specifically, the Features and Regression tests are all driven by QMTest.
|
||||||
are all driven by QMTest. The <tt>llvm-test</tt> module is currently
|
The <tt>llvm-test</tt> module is currently driven by a set of Makefiles.</p>
|
||||||
driven by a set of Makefiles.</p>
|
|
||||||
|
|
||||||
<p>The QMTest system needs to have several pieces of information
|
<p>The QMTest system needs to have several pieces of information available;
|
||||||
available; these pieces of configuration information are known
|
these pieces of configuration information are known collectively as the
|
||||||
collectively as the "context" in QMTest parlance. Since the context
|
"context" in QMTest parlance. Since the context for LLVM is relatively large,
|
||||||
for LLVM is relatively large, the master Makefile in llvm/test
|
the master Makefile in llvm/test sets it for you.</p>
|
||||||
sets it for you.</p>
|
|
||||||
|
|
||||||
<p>The LLVM database class makes the subdirectories of llvm/test a
|
<p>The LLVM database class makes the subdirectories of llvm/test a QMTest test
|
||||||
QMTest test database. For each directory that contains tests driven by
|
database. For each directory that contains tests driven by QMTest, it knows
|
||||||
QMTest, it knows what type of test the source file is and how to run it.</p>
|
what type of test the source file is and how to run it.</p>
|
||||||
|
|
||||||
<p>Hence, the QMTest namespace is essentially what you see in the
|
<p>Hence, the QMTest namespace is essentially what you see in the Feature and
|
||||||
Feature and Regression directories, but there is some magic that
|
Regression directories, but there is some magic that the database class performs
|
||||||
the database class performs (as described below).</p>
|
(as described below).</p>
|
||||||
|
|
||||||
<p>The QMTest namespace is currently composed of the following tests and test
|
<p>The QMTest namespace is currently composed of the following tests and test
|
||||||
suites:</p>
|
suites:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Feature
|
<li>Feature
|
||||||
<p>
|
|
||||||
These are the feature tests found in the Feature directory.
|
<p>These are the feature tests found in the Feature directory.
|
||||||
They are broken up into the following categories:
|
They are broken up into the following categories:</p>
|
||||||
</p>
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>ad
|
<li>ad
|
||||||
<p>Assembler/Disassembler tests. These tests verify that a piece of LLVM
|
<p>Assembler/Disassembler tests. These tests verify that a piece of LLVM
|
||||||
@@ -297,7 +296,7 @@ creates a fake test hierarchy containing
|
|||||||
<tt>Feature.<testtype>.<testname></tt>. So, if you add an LLVM
|
<tt>Feature.<testtype>.<testname></tt>. So, if you add an LLVM
|
||||||
assembly language file to the Feature directory, it actually creates 5 new
|
assembly language file to the Feature directory, it actually creates 5 new
|
||||||
tests: assembler/disassembler, assembler, optimizer, machine code, and C code.
|
tests: assembler/disassembler, assembler, optimizer, machine code, and C code.
|
||||||
</p>
|
</p></li>
|
||||||
|
|
||||||
<li>Regression
|
<li>Regression
|
||||||
<p>These are the regression tests. There is one suite for each
|
<p>These are the regression tests. There is one suite for each
|
||||||
@@ -305,6 +304,7 @@ tests: assembler/disassembler, assembler, optimizer, machine code, and C code.
|
|||||||
there, you will need to modify, at least, the <tt>RegressionMap</tt>
|
there, you will need to modify, at least, the <tt>RegressionMap</tt>
|
||||||
variable in <tt>QMTest/llvmdb.py</tt> so that QMTest knows how to run the
|
variable in <tt>QMTest/llvmdb.py</tt> so that QMTest knows how to run the
|
||||||
tests in the new subdirectory.</p>
|
tests in the new subdirectory.</p>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@@ -317,11 +317,11 @@ Structure</a></div>
|
|||||||
|
|
||||||
<div class="doc_text">
|
<div class="doc_text">
|
||||||
|
|
||||||
<p>As mentioned previously, the <tt>llvm-test</tt> module provides three
|
<p>As mentioned previously, the <tt>llvm-test</tt> module provides three types
|
||||||
types of tests: MultiSource, SingleSource, and External. Each tree is then
|
of tests: MultiSource, SingleSource, and External. Each tree is then subdivided
|
||||||
subdivided into several categories, including applications, benchmarks,
|
into several categories, including applications, benchmarks, regression tests,
|
||||||
regression tests, code that is strange grammatically, etc. These
|
code that is strange grammatically, etc. These organizations should be
|
||||||
organizations should be relatively self explanatory.</p>
|
relatively self explanatory.</p>
|
||||||
|
|
||||||
<p>In addition to the regular "whole program" tests, the <tt>llvm-test</tt>
|
<p>In addition to the regular "whole program" tests, the <tt>llvm-test</tt>
|
||||||
module also provides a mechanism for compiling the programs in different ways.
|
module also provides a mechanism for compiling the programs in different ways.
|
||||||
@@ -408,10 +408,10 @@ others are features that we haven't added yet (or may never add). In QMTest,
|
|||||||
the result for such tests will be XFAIL (eXpected FAILure). In this way, you
|
the result for such tests will be XFAIL (eXpected FAILure). In this way, you
|
||||||
can tell the difference between an expected and unexpected failure.</p>
|
can tell the difference between an expected and unexpected failure.</p>
|
||||||
|
|
||||||
<p>The tests in <tt>llvm-test</tt> have no such feature as of this time. If
|
<p>The tests in <tt>llvm-test</tt> have no such feature as of this time. If the
|
||||||
the test passes, only warnings and other miscellaneous output will be generated.
|
test passes, only warnings and other miscellaneous output will be generated. If
|
||||||
If a test fails, a large <program> FAILED message will be displayed.
|
a test fails, a large <program> FAILED message will be displayed. This
|
||||||
This will help you separate benign warnings from actual test failures.</p>
|
will help you separate benign warnings from actual test failures.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -473,7 +473,6 @@ we'll link your page to the global tester page. Thanks!
|
|||||||
src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" /></a>
|
src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" /></a>
|
||||||
|
|
||||||
John T. Criswell<br>
|
John T. Criswell<br>
|
||||||
<a href="http://llvm.x10sys.com/rspencer">Modified By Reid Spencer</a><br/>
|
|
||||||
<a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a><br/>
|
<a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a><br/>
|
||||||
Last modified: $Date$
|
Last modified: $Date$
|
||||||
</address>
|
</address>
|
||||||
|
Reference in New Issue
Block a user