From cc85da08f9fde9e81f2442c674a1d93c23357dc5 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Wed, 8 Dec 2004 17:35:31 +0000 Subject: [PATCH] Removed QMTest reference. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18641 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/TestingGuide.html | 128 ++++------------------------------------- 1 file changed, 11 insertions(+), 117 deletions(-) diff --git a/docs/TestingGuide.html b/docs/TestingGuide.html index e57c39e200b..b1e5059a687 100644 --- a/docs/TestingGuide.html +++ b/docs/TestingGuide.html @@ -23,7 +23,6 @@
  • LLVM Test Suite Tree
  • DejaGNU Structure
  • -
  • QMTest Structure
  • llvm-test Structure
  • Running the LLVM Tests
  • Running the nightly tester
  • @@ -60,18 +59,8 @@ required to build LLVM, plus the following:

    The Feature and Regressions tests are organized and run by DejaGNU.
    Expect
    Expect is required by DejaGNU.
    -
    tclsh
    -
    Tclsh is required by DejaGNU.
    - -
    QMTest
    -
    The LLVM test suite uses QMTest to organize and run tests. Note: -you will need QMTest -2.0.3 (source tar.gz file) to be successful. The tests do not run with -any other version. (optional, required only for QMTest)
    - -
    Python
    -
    You will need a Python interpreter that works with QMTest. Python will -need zlib and SAX support enabled. (optional, required only for QMTest)
    +
    tcl
    +
    Tcl is required by DejaGNU.
    F2C
    For now, LLVM does not have a Fortran front-end, but using F2C, we can run @@ -129,24 +118,6 @@ or
    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 simple tests (i.e. those that do basic testing of -LLVM), using QMTest:

    -
    -% gmake -C llvm/test qmtest
    -
    - -

    To run only the basic feature tests, QMTest supports the following -target:

    -
    -% gmake -C llvm/test Feature.t
    -
    - -

    To run only the regression tests, QMTest supports the following -target:

    -
    -% gmake -C llvm/test Regression.t
    -
    -

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

    @@ -270,11 +241,6 @@ directory are the SPEC 95 and SPEC 2000 benchmark suites. The presence and location of these external programs is configured by the llvm-test configure script.

    -
  • llvm/test/QMTest -

    This directory contains the QMTest information files. Inside this directory -are QMTest administration files and the Python code that implements the LLVM -test and database classes.

  • - @@ -285,7 +251,7 @@ test and database classes.

    The LLVM test suite is partially driven by DejaGNU and partially driven by GNU Make. Specifically, the Features and Regression tests -are all driven by DejaGNU (and optionally QMTest). The llvm-test +are all driven by DejaGNU. The llvm-test module is currently driven by a set of Makefiles.

    The DejaGNU structure is very simple, but does require some @@ -355,78 +321,6 @@ machine. You can use * to match all targets. Here is an example of an

    - -
    QMTest Structure
    - - -
    - -

    The Feature and Regression tests can also be run using QMTest.

    - -

    The QMTest system needs to have several pieces of information available; -these pieces of configuration information are known collectively as the -"context" in QMTest parlance. Since the context for LLVM is relatively large, -the master Makefile in llvm/test sets it for you.

    - -

    The LLVM database class makes the subdirectories of llvm/test a QMTest test -database. For each directory that contains tests driven by QMTest, it knows -what type of test the source file is and how to run it.

    - -

    Hence, the QMTest namespace is essentially what you see in the Feature and -Regression directories, but there is some magic that the database class performs -(as described below).

    - -

    The QMTest namespace is currently composed of the following tests and test -suites:

    - - - -
    -
    llvm-test Structure
    @@ -494,18 +388,18 @@ specify the following configuration options:

    are not executed inside of the LLVM source tree. This is because the test suite creates temporary files during execution.

    -

    The master Makefile in llvm/test is capable of running only the QMTest driven +

    The master Makefile in llvm/test is capable of running only the DejaGNU driven tests. By default, it will run all of these tests.

    -

    To run only the QMTest driven tests, run gmake qmtest at the -command line in llvm/tests. To run a specific qmtest, suffix the test name with -".t" when running gmake.

    +

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

    -

    For example, to run the Regression.LLC tests, type -gmake Regression.LLC.t in llvm/tests.

    +

    For example, to run the Regression tests, type +gmake TESTSUITE=Regression in llvm/tests.

    Note that there are no Makefiles in llvm/test/Features and -llvm/test/Regression. You must use QMTest from the llvm/test +llvm/test/Regression. You must use DejaGNU from the llvm/test directory to run them.

    To run the llvm-test suite, you need to use the following steps: @@ -547,7 +441,7 @@ output and standard error. You can redirect these results to a file if you choose.

    Some tests are known to fail. Some are bugs that we have not fixed yet; -others are features that we haven't added yet (or may never add). In QMTest, +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.