[test-suite] r364448 - Revert "[test-suite] Signal error if llvm-lit was not found"
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 26 10:07:23 PDT 2019
Author: lebedevri
Date: Wed Jun 26 10:07:23 2019
New Revision: 364448
URL: http://llvm.org/viewvc/llvm-project?rev=364448&view=rev
Log:
Revert "[test-suite] Signal error if llvm-lit was not found"
As disscussed in post-commit review, the LIT is not specified
in the zorg/buildbot/builders/ClangBuilder.py, so this broke
all test-suite bots. That is a bot problem,
i'm pulling the commit until is is resolved.
This reverts commit r364388.
Modified:
test-suite/trunk/CMakeLists.txt
Modified: test-suite/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/CMakeLists.txt?rev=364448&r1=364447&r2=364448&view=diff
==============================================================================
--- test-suite/trunk/CMakeLists.txt (original)
+++ test-suite/trunk/CMakeLists.txt Wed Jun 26 10:07:23 2019
@@ -90,7 +90,7 @@ if(TEST_SUITE_COLLECT_CODE_SIZE)
mark_as_advanced(TEST_SUITE_LLVM_SIZE)
if(TEST_SUITE_LLVM_SIZE STREQUAL "TEST_SUITE_LLVM_SIZE-NOTFOUND")
message(FATAL_ERROR "llvm-size not found.
-Make sure it is in your path or specify it via -DTEST_SUITE_LLVM_SIZE:FILEPATH=\"\" or set TEST_SUITE_COLLECT_CODE_SIZE to OFF")
+Make sure it is in your path or set TEST_SUITE_COLLECT_CODE_SIZE to OFF")
endif()
endif()
@@ -107,7 +107,7 @@ if(TEST_SUITE_PROFILE_GENERATE)
mark_as_advanced(TEST_SUITE_LLVM_PROFDATA)
if(TEST_SUITE_LLVM_PROFDATA STREQUAL "TEST_SUITE_LLVM_PROFDATA-NOTFOUND")
message(FATAL_ERROR "llvm-profdata not found.
-Make sure it is in your path or specify it via -DTEST_SUITE_LLVM_PROFDATA:FILEPATH=\"\" or set TEST_SUITE_PROFILE_GENERATE to OFF")
+Make sure it is in your path or set TEST_SUITE_PROFILE_GENERATE to OFF")
endif()
set(TEST_SUITE_PROFILE_GENERATE "True")
@@ -216,10 +216,7 @@ endif()
find_program(TEST_SUITE_LIT NAMES "lit" "llvm-lit")
set(TEST_SUITE_LIT_FLAGS "-sv" CACHE STRING "Flags used when running lit")
mark_as_advanced(TEST_SUITE_LIT TEST_SUITE_LIT_FLAGS)
-if(TEST_SUITE_LIT STREQUAL "TEST_SUITE_LIT-NOTFOUND")
- message(FATAL_ERROR "llvm-lit not found.
-Make sure it is in your path or specify it via -DTEST_SUITE_LIT:FILEPATH=\"\"")
-endif()
+mark_as_advanced(TEST_SUITE_LIT)
add_subdirectory(tools)
# Shortcut for the path to the fpcmp executable
More information about the llvm-commits
mailing list