summaryrefslogtreecommitdiffstats
path: root/Tests/GhsMulti/GhsMultiMultipleProjects/verify.cmake
diff options
context:
space:
mode:
authorFred Baksik <frodak17@gmail.com>2019-01-09 04:52:12 (GMT)
committerFred Baksik <frodak17@gmail.com>2019-01-16 15:42:08 (GMT)
commit21ab58d3f8782e80145f14eb6e72926c9d17afc6 (patch)
tree04b73d0d54cc854bedc8641aa5b7f73677362088 /Tests/GhsMulti/GhsMultiMultipleProjects/verify.cmake
parent72e0c115b771fe9e3f4b5a5b6bd3bcdade77a7cb (diff)
downloadCMake-21ab58d3f8782e80145f14eb6e72926c9d17afc6.zip
CMake-21ab58d3f8782e80145f14eb6e72926c9d17afc6.tar.gz
CMake-21ab58d3f8782e80145f14eb6e72926c9d17afc6.tar.bz2
GHS: Update test suite
-- Allow for testing default toolset settings If CMake_TEST_GreenHillsMULTI_config is not defined then just run the GHS tests using defaults. -- Handle paths that contain spaces -- Update test suite to use "-non_shared" linker option Fixes linking issue if GHS is not shipped with shared libraries -- Other minor cleanup
Diffstat (limited to 'Tests/GhsMulti/GhsMultiMultipleProjects/verify.cmake')
-rw-r--r--Tests/GhsMulti/GhsMultiMultipleProjects/verify.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/Tests/GhsMulti/GhsMultiMultipleProjects/verify.cmake b/Tests/GhsMulti/GhsMultiMultipleProjects/verify.cmake
index e00cbb3..3855215 100644
--- a/Tests/GhsMulti/GhsMultiMultipleProjects/verify.cmake
+++ b/Tests/GhsMulti/GhsMultiMultipleProjects/verify.cmake
@@ -3,13 +3,13 @@
#test project was generated
unset(fileName CACHE)
-find_file (fileName lib3.gpj
+find_file(fileName lib3.gpj
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}/lib3
${CMAKE_CURRENT_BINARY_DIR}/examples
)
-if ( fileName )
+if (fileName)
message("Found target lib3: ${fileName}")
else()
message(SEND_ERROR "Could not find target lib3: ${fileName}")
@@ -23,7 +23,7 @@ find_file (fileName exe3.gpj
${CMAKE_CURRENT_BINARY_DIR}/examples
)
-if ( fileName )
+if (fileName)
message("Found target exe3: ${fileName}")
else()
message(SEND_ERROR "Could not find target exe3: ${fileName}")
@@ -37,7 +37,7 @@ find_file (fileName lib3.a
${CMAKE_CURRENT_BINARY_DIR}/examples
)
-if ( fileName )
+if (fileName)
message(SEND_ERROR "Found target lib3: ${fileName}")
else()
message("Could not find target lib3: ${fileName}")
@@ -51,7 +51,7 @@ find_file (fileName NAMES exe3.as exe3
${CMAKE_CURRENT_BINARY_DIR}/examples
)
-if ( fileName )
+if (fileName)
message(SEND_ERROR "Found target exe3: ${fileName}")
else()
message("Could not find target exe3: ${fileName}")