Skip to content
Snippets Groups Projects
Commit 45da08e2 authored by Bob Mottram's avatar Bob Mottram
Browse files

Only run tests optionally

parent e681c29f
No related branches found
No related tags found
No related merge requests found
......@@ -172,9 +172,11 @@ function install_apps_interactive {
install_apps interactive
}
${PROJECT_NAME}-tests
if [ ! "$?" = "0" ]; then
exit 2
if [[ $1 == "test"* ]]; then
${PROJECT_NAME}-tests
if [ ! "$?" = "0" ]; then
exit 2
fi
fi
detect_installable_apps
......
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