|
102 | 102 | programs in C and C++ is in the <tt>llvm-test</tt> module. This module should
|
103 | 103 | be checked out to the <tt>llvm/projects</tt> directory. When you
|
104 | 104 | <tt>configure</tt> the <tt>llvm</tt> module, the <tt>llvm-test</tt> module
|
105 |
| -will be automatically configured. Or you can do it manually.</p> |
| 105 | +will be automatically configured. Alternatively, you can configure the <tt>llvm-test</tt> module manually.</p> |
106 | 106 | <p>To run all of the simple tests in LLVM using DejaGNU, use the master Makefile in the
|
107 | 107 | <tt>llvm/test</tt> directory:</p>
|
108 | 108 | <pre>
|
|
140 | 140 | <p>The LLVM test suite contains two major categories of tests: code
|
141 | 141 | fragments and whole programs. Code fragments are in the <tt>llvm</tt> module
|
142 | 142 | under the directory under the <tt>llvm/test</tt> directory. The whole programs
|
143 |
| -test suite are n the <tt>llvm-test</tt> module under the main directory.</p> |
| 143 | +test suite are in the <tt>llvm-test</tt> module under the main directory.</p> |
144 | 144 |
|
145 | 145 | </div>
|
146 | 146 |
|
|
251 | 251 | <div class="doc_text">
|
252 | 252 | <p>The LLVM test suite is partially driven by DejaGNU and partially
|
253 | 253 | driven by GNU Make. Specifically, the Features and Regression tests
|
254 |
| -are all driven by DejaGNU. The llvm-test |
| 254 | +are all driven by DejaGNU. The <tt>llvm-test</tt> |
255 | 255 | module is currently driven by a set of Makefiles.</p>
|
256 | 256 |
|
257 | 257 | <p>The DejaGNU structure is very simple, but does require some
|
258 |
| -information to be set. This information is gathered via configure and |
259 |
| -is written to a file, <tt>site.exp</tt> in llvm/test. The llvm/test |
| 258 | +information to be set. This information is gathered via <tt>configure</tt> and |
| 259 | +is written to a file, <tt>site.exp</tt> in <tt>llvm/test</tt>. The |
| 260 | +<tt>llvm/test</tt> |
260 | 261 | Makefile does this work for you.</p>
|
261 | 262 |
|
262 | 263 | <p>In order for DejaGNU to work, each directory of tests must have a
|
|
392 | 393 | tests. By default, it will run all of these tests.</p>
|
393 | 394 |
|
394 | 395 | <p>To run only the DejaGNU driven tests, run <tt>gmake</tt> at the
|
395 |
| -command line in llvm/tests. To run a specific directory of tests, specify the TESTSUITE. |
| 396 | +command line in llvm/tests. To run a specific directory of tests, use the |
| 397 | +TESTSUITE variable. |
396 | 398 | </p>
|
397 | 399 |
|
398 | 400 | <p>For example, to run the Regression tests, type
|
|
0 commit comments