X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FTestingGuide.html;h=d2c3bd06637a1463f31921e18b2a523a184ecdc5;hb=05ccd7039610c72b7fceb85a0c4b644aef2e64eb;hp=ced17745def3c64feeffecacd896a1b84c014c21;hpb=fc1a27b2a5d36f33585a2db1a7740913df24b893;p=oota-llvm.git diff --git a/docs/TestingGuide.html b/docs/TestingGuide.html index ced17745def..d2c3bd06637 100644 --- a/docs/TestingGuide.html +++ b/docs/TestingGuide.html @@ -112,13 +112,17 @@ or
 % gmake check
 
-

To run only a subdirectory of tests in llvm/test using DejaGNU (ie. Regression/Transforms). Just substitute the path to the subdirectory:

+ +

To run only a subdirectory of tests in llvm/test using DejaGNU (ie. +Regression/Transforms), just set the TESTSUITE variable to the path of the +subdirectory (relative to llvm/test):

 % gmake -C llvm/test TESTSUITE=Regression/Transforms
 
-

Note: If you are running the tests with objdir != subdir you must -have run the complete testsuite before you can specify a subdirectory.

+

Note: If you are running the tests with objdir != subdir, you +must have run the complete testsuite before you can specify a +subdirectory.

To run the comprehensive test suite (tests that compile and execute whole programs), run the llvm-test tests:

@@ -141,8 +145,8 @@ programs), run the llvm-test tests:

The LLVM test suite contains two major categories of tests: code fragments and whole programs. Code fragments are in the llvm module -under the directory under the llvm/test directory. The whole programs -test suite are in the llvm-test module under the main directory.

+under the llvm/test directory. The whole programs +test suite is in the llvm-test module under the main directory.

@@ -396,8 +400,8 @@ test suite creates temporary files during execution.

tests. By default, it will run all of these tests.

To run only the DejaGNU driven tests, run gmake at the -command line in llvm/tests. To run a specific directory of tests, use the -TESTSUITE variable. +command line in llvm/test. To run a specific directory of tests, use +the TESTSUITE variable.

For example, to run the Regression tests, type @@ -422,7 +426,7 @@ directory to run them.

properly configured.
  • Use the configure script found in the llvm-test source directory:
    - $BUILD_SRC_DIR/configure --with-llvmsrc=$LLVM_SRC_ROOT --with-llvmobj=$LLVM_OBJ_ROOT + $LLVM_SRC_ROOT/projects/llvm-test/configure --with-llvmsrc=$LLVM_SRC_ROOT --with-llvmobj=$LLVM_OBJ_ROOT
  • gmake
  • @@ -450,7 +454,7 @@ others are features that we haven't added yet (or may never add). In DejaGNU, the result for such tests will be XFAIL (eXpected FAILure). In this way, you can tell the difference between an expected and unexpected failure.

    -

    The tests in llvm-test have no such feature as of this time. If the +

    The tests in llvm-test have no such feature at this time. If the test passes, only warnings and other miscellaneous output will be generated. If a test fails, a large <program> FAILED message will be displayed. This will help you separate benign warnings from actual test failures.

    @@ -516,7 +520,7 @@ we'll link your page to the global tester page. Thanks!

    Valid HTML 4.01! - John T. Criswell
    + John T. Criswell, Reid Spencer, and Tanya Lattner
    The LLVM Compiler Infrastructure
    Last modified: $Date$