summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoconf/configure.ac3
-rwxr-xr-xconfigure3
-rw-r--r--projects/Makefile4
3 files changed, 9 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 15cfa347c3..42d2985d53 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -70,7 +70,10 @@ do
sample) AC_CONFIG_SUBDIRS([projects/sample]) ;;
privbracket) AC_CONFIG_SUBDIRS([projects/privbracket]) ;;
llvm-stacker) AC_CONFIG_SUBDIRS([projects/llvm-stacker]) ;;
+ # llvm-test is the old name of the test-suite, kept here for backwards
+ # compatibility
llvm-test) AC_CONFIG_SUBDIRS([projects/llvm-test]) ;;
+ test-suite) AC_CONFIG_SUBDIRS([projects/test-suite]) ;;
llvm-reopt) AC_CONFIG_SUBDIRS([projects/llvm-reopt]);;
llvm-gcc) AC_CONFIG_SUBDIRS([projects/llvm-gcc]) ;;
llvm-java) AC_CONFIG_SUBDIRS([projects/llvm-java]) ;;
diff --git a/configure b/configure
index 820f66f12e..83a44a05af 100755
--- a/configure
+++ b/configure
@@ -951,6 +951,7 @@ ac_subdirs_all='projects/sample
projects/privbracket
projects/llvm-stacker
projects/llvm-test
+projects/test-suite
projects/llvm-reopt
projects/llvm-gcc
projects/llvm-java
@@ -2091,6 +2092,8 @@ do
;;
llvm-test) subdirs="$subdirs projects/llvm-test"
;;
+ test-suite) subdirs="$subdirs projects/test-suite"
+ ;;
llvm-reopt) subdirs="$subdirs projects/llvm-reopt"
;;
llvm-gcc) subdirs="$subdirs projects/llvm-gcc"
diff --git a/projects/Makefile b/projects/Makefile
index b6228b87f9..b966fc7f78 100644
--- a/projects/Makefile
+++ b/projects/Makefile
@@ -10,7 +10,9 @@ LEVEL=..
include $(LEVEL)/Makefile.config
-DIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
+# Compile all subdirs, except for the test suite, which lives in test-suite.
+# Before 2008.06.24 it lived in llvm-test, so exclude that as well for now.
+DIRS:= $(filter-out llvm-test test-suite,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
# Sparc cannot link shared libraries (libtool problem?)
ifeq ($(ARCH), Sparc)