Add a set -o errexit line to the app template

Release_1.3_Bugfix
Bradlee Speice 2012-07-23 11:47:53 -04:00
parent ba054c037c
commit ef7b04d08d
1 changed files with 4 additions and 0 deletions

View File

@ -183,6 +183,7 @@ typedef struct {
* #!/bin/bash
* #This is an application test involving libcvautomation and libreoffice
* . /etc/libcvautomation_funcs
* set -o errexit
*
* #Changing any wrapper parameters should go here
*
@ -212,9 +213,12 @@ typedef struct {
* #!/bin/bash
* #This is an application test involving libcvautomation and libreoffice
* . /etc/libcvautomation_funcs
* set -o errexit
*
* #Changing any wrapper parameters should go here
* \endcode
* <li>The purpose of these lines is just the standard BASH header. Additionally, we import a wrapper created for libcvautomation to make our job easier. Please note that this is the default directory for the wrapper, your installation may be different. Use the command <tt>locate libcvautomation_funcs</tt> to find it on your computer. The wrapper itself is a handful of macros used to make our job easy.
* <li>The \c set line will abort the test if an error is ever encountered - for example, no images are found.
* <li>Changing any wrapper parameters should go after sourcing the wrapper functions. See \ref appendix_variables for more information.
* <br><br>
* \code