From 5b80c663e7662fcf24c764f0cd1b2671958689b8 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 24 Jun 2008 13:01:57 +0000 Subject: Allow the test suite to be checked out into projects/test-suite. We will keep the old projects/llvm-test working for existing installs. The changes to configure are made manually, since I lack autoconf-2.6. Someone might want to run AutoGen.sh to see if that changes anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52675 91177308-0d34-0410-b5e6-96231b3b80d8 --- autoconf/configure.ac | 3 +++ configure | 3 +++ projects/Makefile | 4 +++- 3 files changed, 9 insertions(+), 1 deletion(-) 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 @@ -2090,6 +2091,8 @@ do llvm-stacker) subdirs="$subdirs projects/llvm-stacker" ;; llvm-test) subdirs="$subdirs projects/llvm-test" + ;; + test-suite) subdirs="$subdirs projects/test-suite" ;; llvm-reopt) subdirs="$subdirs projects/llvm-reopt" ;; 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) -- cgit v1.2.3