From ea8b062a569d6f57307e7ebcf883c05f2b0cb767 Mon Sep 17 00:00:00 2001 From: Edwin Vane Date: Wed, 20 Feb 2013 14:35:53 +0000 Subject: [PATCH] Tweaks and fixes to cpp11-migrate generated tests * Fixed a comment typo * Changed 'autogen' to 'generated-tests' * Made the clean target not fail if the 'generated-tests' directory doesn't already exist. llvm-svn: 175624 --- clang-tools-extra/test/CMakeLists.txt | 2 +- clang-tools-extra/test/Makefile | 2 +- .../test/cpp11-migrate/CMakeLists.txt | 10 +++++----- clang-tools-extra/test/cpp11-migrate/Makefile | 18 +++++++++--------- clang-tools-extra/test/lit.cfg | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/clang-tools-extra/test/CMakeLists.txt b/clang-tools-extra/test/CMakeLists.txt index 9782638fe091..5c62cf038c51 100644 --- a/clang-tools-extra/test/CMakeLists.txt +++ b/clang-tools-extra/test/CMakeLists.txt @@ -35,7 +35,7 @@ set(CLANG_TOOLS_TEST_DEPS add_lit_testsuite(check-clang-tools "Running the Clang extra tools' regression tests" ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_CURRENT_BINARY_DIR}/cpp11-migrate/autogen + ${CMAKE_CURRENT_BINARY_DIR}/cpp11-migrate/generated_tests DEPENDS ${CLANG_TOOLS_TEST_DEPS} ARGS ${CLANG_TOOLS_TEST_EXTRA_ARGS} ) diff --git a/clang-tools-extra/test/Makefile b/clang-tools-extra/test/Makefile index da5e81f50300..9a1b99863856 100644 --- a/clang-tools-extra/test/Makefile +++ b/clang-tools-extra/test/Makefile @@ -28,7 +28,7 @@ TESTDIRS := $(TESTDIRS:$(PROJ_SRC_DIR)%=$(PROJ_OBJ_DIR)%) TESTDIRS += $(EXTRA_TESTDIRS) # List of roots for auto-generated tests. -TESTDIRS += $(PROJ_OBJ_DIR)/cpp11-migrate/autogen +TESTDIRS += $(PROJ_OBJ_DIR)/cpp11-migrate/generated_tests ifndef TESTARGS ifdef VERBOSE diff --git a/clang-tools-extra/test/cpp11-migrate/CMakeLists.txt b/clang-tools-extra/test/cpp11-migrate/CMakeLists.txt index 6a7d446e3720..8dd932b13177 100644 --- a/clang-tools-extra/test/cpp11-migrate/CMakeLists.txt +++ b/clang-tools-extra/test/cpp11-migrate/CMakeLists.txt @@ -10,20 +10,20 @@ set(generator_scripts # macro that runs a generator script to produce an auto-generated file. # Generator scripts must follow scheme above. The resulting file is placed in: -# ${CMAKE_CURRENT_BINARY_DIR})/autogen/dirname(