mirror of
https://github.com/bspeice/libcvautomation
synced 2024-12-04 13:58:11 -05:00
Add a set -o errexit line to the app template
This commit is contained in:
parent
ba054c037c
commit
ef7b04d08d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user