Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moose
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sahil Moza
moose
Commits
e11654bb
Commit
e11654bb
authored
7 years ago
by
Dilawar Singh
Browse files
Options
Downloads
Patches
Plain Diff
top level script does not call ctest in Relase mode [skip ci]
parent
954a37e7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+14
-12
14 additions, 12 deletions
CMakeLists.txt
debian/rules
+20
-21
20 additions, 21 deletions
debian/rules
with
34 additions
and
33 deletions
CMakeLists.txt
+
14
−
12
View file @
e11654bb
...
@@ -151,18 +151,20 @@ endif()
...
@@ -151,18 +151,20 @@ endif()
################################################################################
################################################################################
# CTEST
# CTEST
#################################################################################
#################################################################################
enable_testing
(
)
if
(
CMAKE_BUILD_TYPE EQUAL
"DEBUG"
)
add_test
(
NAME test_pymoose_sanity
enable_testing
(
)
COMMAND
${
PYTHON_EXECUTABLE
}
-c
"import moose"
add_test
(
NAME test_pymoose_sanity
)
COMMAND
${
PYTHON_EXECUTABLE
}
-c
"import moose"
)
if
(
WITH_GUI
)
if
(
WITH_GUI
)
add_test
(
NAME test_gui_sanity
add_test
(
NAME test_gui_sanity
COMMAND
${
PYTHON_EXECUTABLE
}
${
MOOSE_GUI_INSTALL_DIR
}
/mgui.py
COMMAND
${
PYTHON_EXECUTABLE
}
${
MOOSE_GUI_INSTALL_DIR
}
/mgui.py
WORKING_DIRECTORY
${
MOOSE_GUI_INSTALL_DIR
}
WORKING_DIRECTORY
${
MOOSE_GUI_INSTALL_DIR
}
)
endif
()
set_tests_properties
(
test_pymoose_sanity
PROPERTIES ENVIRONMENT
"PYTHONPATH=
${
PYMOOSE_BUILD_DIR
}
/python"
)
)
endif
()
endif
()
set_tests_properties
(
test_pymoose_sanity
PROPERTIES ENVIRONMENT
"PYTHONPATH=
${
PYMOOSE_BUILD_DIR
}
/python"
)
This diff is collapsed.
Click to expand it.
debian/rules
+
20
−
21
View file @
e11654bb
...
@@ -5,24 +5,23 @@
...
@@ -5,24 +5,23 @@
## Here goes the debian make.
## Here goes the debian make.
%:
%:
dh "$@"
dh "$@" --buildsystem=cmake
override_dh_auto_clean:
##override_dh_auto_clean:
rm -rf $(BUILD_DIR_MOOSE)
## dh_auto_clean --buildsystem=cmake
dh_auto_clean --buildsystem=cmake
##
### consider using -DUSE_VERSIONED_DIR=ON if backporting
# consider using -DUSE_VERSIONED_DIR=ON if backporting
##override_dh_auto_configure:
override_dh_auto_configure:
## cmake -DVERSION_MOOSE=3.1.3 -DCMAKE_INSTALL_PREFIX=debian/tmp/usr .
cmake -DVERSION_MOOSE=3.1.3 -DCMAKE_INSTALL_PREFIX=debian/tmp/usr .
##
##override_dh_auto_build:
override_dh_auto_build:
## make VERBOSE=0 -j`nproc`
make VERBOSE=0 -j`nproc`
##
##override_dh_auto_install:
override_dh_auto_install:
## make install
make install
##
##override_dh_auto_test:
override_dh_auto_test:
## echo "Nothing to do here"
echo "Nothing to do here"
##
##override_dh_shlibdeps:
override_dh_shlibdeps:
## dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment