From 9e2485c1227c426910f87e342022c71fe1a916a3 Mon Sep 17 00:00:00 2001
From: John Criswell
To run all of the simple tests in LLVM using DejaGNU, use the master Makefile in the llvm/test directory:
@@ -140,7 +140,7 @@ 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 n the llvm-test module under the main directory.
+test suite are in the llvm-test module under the main directory. @@ -251,12 +251,13 @@ location of these external programs is configured by the llvm-testThe 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. 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 -information to be set. This information is gathered via configure and -is written to a file, site.exp in llvm/test. The llvm/test +information to be set. This information is gathered via configure and +is written to a file, site.exp in llvm/test. The +llvm/test Makefile does this work for you.
In order for DejaGNU to work, each directory of tests must have a @@ -392,7 +393,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, specify the TESTSUITE. +command line in llvm/tests. To run a specific directory of tests, use the +TESTSUITE variable.
For example, to run the Regression tests, type -- cgit v1.2.3