[test-suite] r255607 - cmake: Put path to fpcmp into a variable

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 14 18:51:12 PST 2015


Author: matze
Date: Mon Dec 14 20:51:12 2015
New Revision: 255607

URL: http://llvm.org/viewvc/llvm-project?rev=255607&view=rev
Log:
cmake: Put path to fpcmp into a variable

Modified:
    test-suite/trunk/CMakeLists.txt
    test-suite/trunk/External/Nurbs/CMakeLists.txt
    test-suite/trunk/External/Povray/CMakeLists.txt
    test-suite/trunk/External/skidmarks10/CMakeLists.txt

Modified: test-suite/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/CMakeLists.txt?rev=255607&r1=255606&r2=255607&view=diff
==============================================================================
--- test-suite/trunk/CMakeLists.txt (original)
+++ test-suite/trunk/CMakeLists.txt Mon Dec 14 20:51:12 2015
@@ -70,6 +70,8 @@ if(NOT DEFINED ENDIAN)
 endif()
 
 add_subdirectory(tools)
+# Shortcut for the path to the fpcmp executable
+set(FPCMP ${CMAKE_BINARY_DIR}/tools/fpcmp)
 
 # Now that the tools have been created, use tools/timeit to time all other compilations.
 set(CMAKE_C_COMPILE_OBJECT "${CMAKE_BINARY_DIR}/tools/timeit --summary <OBJECT>.time ${CMAKE_C_COMPILE_OBJECT}")

Modified: test-suite/trunk/External/Nurbs/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/Nurbs/CMakeLists.txt?rev=255607&r1=255606&r2=255607&view=diff
==============================================================================
--- test-suite/trunk/External/Nurbs/CMakeLists.txt (original)
+++ test-suite/trunk/External/Nurbs/CMakeLists.txt Mon Dec 14 20:51:12 2015
@@ -12,7 +12,7 @@ if(ARCH STREQUAL "x86")
     endif()
 
     llvm_test_run(/k all timed /t 500 /vsteps 192 /usteps 192 /vcp 20 /ucp 20)
-    llvm_test_verify(${CMAKE_BINARY_DIR}/tools/fpcmp
+    llvm_test_verify(${FPCMP}
       %o
       ${CMAKE_CURRENT_SOURCE_DIR}/nurbs.reference_output
     )

Modified: test-suite/trunk/External/Povray/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/Povray/CMakeLists.txt?rev=255607&r1=255606&r2=255607&view=diff
==============================================================================
--- test-suite/trunk/External/Povray/CMakeLists.txt (original)
+++ test-suite/trunk/External/Povray/CMakeLists.txt Mon Dec 14 20:51:12 2015
@@ -28,7 +28,7 @@ if(TEST_SUITE_POVRAY_ROOT)
     -L${TEST_SUITE_POVRAY_ROOT}/include
     -GAoutput.junk -O-
   )
-  llvm_test_verify(${CMAKE_BINARY_DIR}/tools/fpcmp
+  llvm_test_verify(${FPCMP}
     %o
     ${CMAKE_CURRENT_SOURCE_DIR}/povray.reference_output
   )

Modified: test-suite/trunk/External/skidmarks10/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/skidmarks10/CMakeLists.txt?rev=255607&r1=255606&r2=255607&view=diff
==============================================================================
--- test-suite/trunk/External/skidmarks10/CMakeLists.txt (original)
+++ test-suite/trunk/External/skidmarks10/CMakeLists.txt Mon Dec 14 20:51:12 2015
@@ -9,7 +9,7 @@ if(TEST_SUITE_SKIDMARKS10_ROOT)
   endif()
 
   llvm_test_run(0 ${TEST_SUITE_SKIDMARKS10_ROOT}/golden)
-  llvm_test_verify(${CMAKE_BINARY_DIR}/tools/fpcmp
+  llvm_test_verify(${FPCMP}
     %o
     ${CMAKE_CURRENT_SOURCE_DIR}/skidmarks.reference_output
   )




More information about the llvm-commits mailing list