Skip to content
Snippets Groups Projects
Commit 7bfe4c5b authored by Janik Zikovsky's avatar Janik Zikovsky
Browse files

Refs #4316: Added AllTests target

that includes GUITests and FrameworkTests. Moved MantidQtAPI test to GUITests.
parent 643e27cd
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,12 @@ if (PYUNITTEST_FOUND)
add_subdirectory ( scripts )
endif ()
# Collect all tests together
add_custom_target ( AllTests )
add_dependencies ( AllTests FrameworkTests )
add_dependencies ( AllTests GUITests )
###########################################################################
# Installation settings
###########################################################################
......
......@@ -85,7 +85,7 @@ if ( CXXTEST_FOUND )
if ( GMOCK_FOUND AND GTEST_FOUND )
cxxtest_add_test ( MantidQtAPITest ${TEST_FILES} ${GMOCK_TEST_FILES} )
target_link_libraries( MantidQtAPITest MantidQtAPI ${GMOCK_LIBRARIES} ${GTEST_LIBRARIES} )
add_dependencies( FrameworkTests MantidQtAPITest )
add_dependencies( GUITests MantidQtAPITest )
# Add to the 'UnitTests' group in VS
set_property( TARGET MantidQtAPITest PROPERTY FOLDER "UnitTests" )
endif ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment