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

Fixed ctest script..

parent 55476204
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ set -o nounset # Treat unset variables as an er
set -e -x
PATH=/usr/bin:/usr/local/bin:$PATH
gbp buildpackage --git-ignore-branch --git-ignore-new -uc -us
gbp buildpackage --git-ignore-branch --git-ignore-new -uc -us -d
sudo dpkg -i ../moose*.deb
python -c 'import moose'
......
cmake_minimum_required(VERSION 2.8)
project(moose)
if(POLICY CMP0048)
cmake_policy(SET CMP0048 OLD )
endif(POLICY CMP0048)
......@@ -64,7 +63,8 @@ configure_file( ${CMAKE_SOURCE_DIR}/cmake/build_moose-core.sh.in
# Build pymoose module.
add_custom_target( moose-core ALL DEPENDS ${OUTPUT_MOOSEBIN} )
add_custom_command( OUTPUT ${OUTPUT_MOOSEBIN}
COMMAND MAKE=$(MAKE) bash -c ${CMAKE_BINARY_DIR}/build_moose-core.sh
COMMAND ${CMAKE_BINARY_DIR}/build_moose-core.sh
COMMENT "Building pymoose"
VERBATIM
)
......
......@@ -23,7 +23,7 @@ echo "Building MOOSE"
@CMAKE_PYMOOSE_ARGS@ \
@PYMOOSE_SOURCE_DIR@
$MAKE
ctest -output-on-failure || echo "Some tests failed"
ctest --output-on-failure || echo "Some tests failed"
$MAKE install
)
......@@ -5,7 +5,7 @@
## Here goes the debian make.
%:
dh "$@" --with python2
dh "$@"
override_dh_auto_clean:
rm -rf $(BUILD_DIR_MOOSE)
......
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