From 0c8a9a1ae806af948bab0e5b7a01a7515506c851 Mon Sep 17 00:00:00 2001
From: John Criswell 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): 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:
% gmake check
-
% gmake -C llvm/test TESTSUITE=Regression/Transforms
-
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. -- 2.34.1