[test-suite] r269159 - cmake: Revert accidental removal of PROFILE_GENERATE normalization in last commit

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Tue May 10 20:51:35 PDT 2016


Author: matze
Date: Tue May 10 22:51:35 2016
New Revision: 269159

URL: http://llvm.org/viewvc/llvm-project?rev=269159&view=rev
Log:
cmake: Revert accidental removal of PROFILE_GENERATE normalization in last commit

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=269159&r1=269158&r2=269159&view=diff
==============================================================================
--- test-suite/trunk/CMakeLists.txt (original)
+++ test-suite/trunk/CMakeLists.txt Tue May 10 22:51:35 2016
@@ -94,9 +94,12 @@ set(TEST_SUITE_PROFILE_GENERATE "FALSE"
     "Enable lit profile generate mode")
 # Set value to python style True/False
 if(TEST_SUITE_PROFILE_GENERATE)
+  set(TEST_SUITE_PROFILE_GENERATE "True")
   list(APPEND CFLAGS -fprofile-instr-generate)
   list(APPEND CXXFLAGS -fprofile-instr-generate)
   list(APPEND LDFLAGS -fprofile-instr-generate)
+else()
+  set(TEST_SUITE_PROFILE_GENERATE "False")
 endif()
 
 set(TEST_SUITE_PROFILE_USE "FALSE" CACHE BOOL




More information about the llvm-commits mailing list