Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into 11131_peak_centre_h…
Browse files Browse the repository at this point in the history
…eight_width

Conflicts:
	Code/Mantid/Framework/CurveFitting/inc/MantidCurveFitting/BackToBackExponential.h
	Code/Mantid/Framework/CurveFitting/test/BackToBackExponentialTest.h

Re #11131.
  • Loading branch information
mantid-roman committed Feb 25, 2015
2 parents 5269c12 + 8a297a1 commit cf8dd2a
Show file tree
Hide file tree
Showing 1,447 changed files with 19,035 additions and 10,029 deletions.
24 changes: 1 addition & 23 deletions Code/Mantid/Build/CMake/CommonSetup.cmake
Expand Up @@ -305,29 +305,7 @@ endif()
# External Data for testing
###########################################################################
if ( CXXTEST_FOUND OR PYUNITTEST_FOUND )
include ( MantidExternalData )

# None of our tests reference files directly as arguments so we have to manually
# call ExternalData_Expand_Arguments to register the files with the ExternalData
# mechanism
get_filename_component ( EXTERNALDATATEST_SOURCE_DIR ${PROJECT_SOURCE_DIR} ABSOLUTE )
file( GLOB_RECURSE doctest_content_links
RELATIVE "${EXTERNALDATATEST_SOURCE_DIR}" "Testing/Data/DocTest/*.md5" )
file( GLOB_RECURSE unittest_content_links
RELATIVE "${EXTERNALDATATEST_SOURCE_DIR}" "Testing/Data/UnitTest/*.md5" )
set ( content_links "${doctest_content_links};${unittest_content_links}" )
foreach(link ${content_links})
string( REGEX REPLACE "\\.md5$" "" link ${link} )
ExternalData_Expand_Arguments( StandardTestData
link_location
DATA{${link}}
)
endforeach()

# Create target to download data from the StandardTestData group. This must come after
# all tests have been added that reference the group, so we put it last.
ExternalData_Add_Target(StandardTestData)
set_target_properties(StandardTestData PROPERTIES EXCLUDE_FROM_ALL TRUE)
include( SetupDataTargets )
endif()

###########################################################################
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/Build/CMake/CppCheck_Suppressions.txt
Expand Up @@ -4,6 +4,6 @@

// suppress in all files - BE CAREFULL not to leave trailing spaces after the rule id. or empty lines
// For a library this is not a problem per se
unusedFunction
// unusedFunction
// cppcheck has problems handling the number of pre-processor definitions used in the DLL_EXPORTs
class_X_Y
class_X_Y
4 changes: 2 additions & 2 deletions Code/Mantid/Build/CMake/EmbeddedGTest.cmake
Expand Up @@ -3,8 +3,8 @@
# GTEST_FOUND If false, do not try to use Google Test

find_path ( GTEST_INCLUDE_DIR gtest/gtest.h
PATHS ${PROJECT_SOURCE_DIR}/TestingTools/gmock-${GMOCK_VERSION}/gtest/include
${PROJECT_SOURCE_DIR}/../TestingTools/gmock-${GMOCK_VERSION}/gtest/include
PATHS ${PROJECT_SOURCE_DIR}/Testing/Tools/gmock-${GMOCK_VERSION}/gtest/include
${PROJECT_SOURCE_DIR}/../Testing/Tools/gmock-${GMOCK_VERSION}/gtest/include
NO_DEFAULT_PATH )

# handle the QUIETLY and REQUIRED arguments and set GTEST_FOUND to TRUE if
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/Build/CMake/FindCxxTest.cmake
Expand Up @@ -194,8 +194,8 @@ endmacro(CXXTEST_ADD_TEST)
#=============================================================

find_path(CXXTEST_INCLUDE_DIR cxxtest/TestSuite.h
PATHS ${PROJECT_SOURCE_DIR}/TestingTools/cxxtest
${PROJECT_SOURCE_DIR}/../TestingTools/cxxtest )
PATHS ${PROJECT_SOURCE_DIR}/Testing/Tools/cxxtest
${PROJECT_SOURCE_DIR}/../Testing/Tools/cxxtest )

find_program(CXXTEST_TESTGEN_EXECUTABLE python/scripts/cxxtestgen
PATHS ${CXXTEST_INCLUDE_DIR})
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/Build/CMake/FindGMock.cmake
Expand Up @@ -17,8 +17,8 @@ ENDIF()
set (GMOCK_VERSION ${GMOCK_VERSION} CACHE INTERNAL "")

find_path ( GMOCK_INCLUDE_DIR gmock/gmock.h
PATHS ${PROJECT_SOURCE_DIR}/TestingTools/gmock-${GMOCK_VERSION}/include
${PROJECT_SOURCE_DIR}/../TestingTools/gmock-${GMOCK_VERSION}/include
PATHS ${PROJECT_SOURCE_DIR}/Testing/Tools/gmock-${GMOCK_VERSION}/include
${PROJECT_SOURCE_DIR}/../Testing/Tools/gmock-${GMOCK_VERSION}/include
NO_DEFAULT_PATH )

SET(GMOCK_LIB gmock)
Expand Down
57 changes: 0 additions & 57 deletions Code/Mantid/Build/CMake/FindMatlab.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion Code/Mantid/Build/CMake/FindOpenCascade.cmake
Expand Up @@ -60,7 +60,7 @@ find_library ( OPENCASCADE_LIB_TKGEOMBASE
NAMES TKGeomBase
)

find_library ( OPENCASCADE_LIB_TKGEOMAlgo
find_library ( OPENCASCADE_LIB_TKGEOMALGO
NAMES TKGeomAlgo
)

Expand Down
8 changes: 4 additions & 4 deletions Code/Mantid/Build/CMake/FindPoco.cmake
Expand Up @@ -61,14 +61,14 @@ if( POCO_INCLUDE_DIR )
file ( STRINGS ${VERSION_FILE} POCO_VERSION REGEX ${VERS_REGEX} )
# pull out just the part after the 0x
string( REGEX REPLACE ${VERS_REGEX} "\\1" POCO_VERSION ${POCO_VERSION} )

# Pretty format
string( SUBSTRING ${POCO_VERSION} 0 2 POCO_VERSION_MAJOR )
string( REGEX REPLACE "^0" "" POCO_VERSION_MAJOR ${POCO_VERSION_MAJOR} )
string( REGEX REPLACE "^0\(.\)" "\\1" POCO_VERSION_MAJOR ${POCO_VERSION_MAJOR} )
string( SUBSTRING ${POCO_VERSION} 2 2 POCO_VERSION_MINOR )
string( REGEX REPLACE "^0" "" POCO_VERSION_MINOR ${POCO_VERSION_MINOR} )
string( REGEX REPLACE "^0\(.\)" "\\1" POCO_VERSION_MINOR ${POCO_VERSION_MINOR} )
string( SUBSTRING ${POCO_VERSION} 4 2 POCO_VERSION_PATCH )
string( REGEX REPLACE "^0" "" POCO_VERSION_PATCH ${POCO_VERSION_PATCH} )

string( REGEX REPLACE "^0\(.\)" "\\1" POCO_VERSION_PATCH ${POCO_VERSION_PATCH} )
set ( POCO_VERSION "${POCO_VERSION_MAJOR}.${POCO_VERSION_MINOR}.${POCO_VERSION_PATCH}" )
endif()

Expand Down
8 changes: 4 additions & 4 deletions Code/Mantid/Build/CMake/FindPyUnitTest.cmake
Expand Up @@ -59,13 +59,13 @@ endmacro ( PYUNITTEST_ADD_TEST )

# find the driver script
find_program ( PYUNITTEST_GEN_EXEC pyunit_gen.py
PATHS ${PROJECT_SOURCE_DIR}/TestingTools/pyunit_gen
${PROJECT_SOURCE_DIR}/../TestingTools/pyunit_gen )
PATHS ${PROJECT_SOURCE_DIR}/Testing/Tools/pyunit_gen
${PROJECT_SOURCE_DIR}/../Testing/Tools/pyunit_gen )

# determine where the xmlrunner lives
find_path ( PYUNITTEST_XMLRUNNER xmlrunner/__init__.py
PATHS ${PROJECT_SOURCE_DIR}/TestingTools/unittest-xml-reporting/src/
${PROJECT_SOURCE_DIR}/../TestingTools/unittest-xml-reporting/src/ )
PATHS ${PROJECT_SOURCE_DIR}/Testing/Tools/unittest-xml-reporting/src/
${PROJECT_SOURCE_DIR}/../Testing/Tools/unittest-xml-reporting/src/ )

# let people know whether or not it was found
if (PYUNITTEST_GEN_EXEC)
Expand Down
218 changes: 0 additions & 218 deletions Code/Mantid/Build/CMake/FindPythonLibs.cmake

This file was deleted.

0 comments on commit cf8dd2a

Please sign in to comment.