Skip to content
Snippets Groups Projects
Commit 8fa511cf authored by Dilawar Singh's avatar Dilawar Singh
Browse files

minor tweaks.

parent db82109d
No related branches found
No related tags found
No related merge requests found
......@@ -124,8 +124,8 @@ if(WITH_GUI)
PATTERN "*.pyc" EXCLUDE
)
configure_file( ${CMAKE_SOURCE_DIR}/cmake/moose.in
${CMAKE_BINARY_DIR}/moosegui )
configure_file( ${CMAKE_SOURCE_DIR}/cmake/moosegui.in ${CMAKE_BINARY_DIR}/moosegui )
install(PROGRAMS ${CMAKE_BINARY_DIR}/moosegui DESTINATION bin)
endif()
......@@ -148,23 +148,3 @@ if(WITH_GUI)
add_dependencies( uninstall __uninstall_moose-gui__ )
endif()
################################################################################
# CTEST
#################################################################################
if("${CMAKE_BUILD_TYPE}" EQUAL "DEBUG")
enable_testing( )
add_test( NAME test_pymoose_sanity
COMMAND ${PYTHON_EXECUTABLE} -c "import moose"
)
if(WITH_GUI)
add_test( NAME test_gui_sanity
COMMAND ${PYTHON_EXECUTABLE} ${MOOSE_GUI_INSTALL_DIR}/mgui.py
WORKING_DIRECTORY ${MOOSE_GUI_INSTALL_DIR}
)
endif()
set_tests_properties( test_pymoose_sanity
PROPERTIES ENVIRONMENT "PYTHONPATH=${PYMOOSE_BUILD_DIR}/python"
)
endif()
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment