tests.sh: adds env var to notify tested programs of automated tests
authorAlexis Laferrière <alexis.laf@xymus.net>
Wed, 20 Mar 2013 15:29:13 +0000 (11:29 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Thu, 21 Mar 2013 18:32:53 +0000 (14:32 -0400)
commit51e51906f04316c9490cb28937faac06c9dfbbc2
treecb025cea6fce28a6caabc09d97cd9d4386c4001c
parent9ad8537078896bd104d6ece09c371ea82906305e
tests.sh: adds env var to notify tested programs of automated tests

Allows for tested programs to know if it is executed normally or if it
is being executed by an automated test. The program may then avoid to
display UI and such.

Will be used the the calculator example program.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests/tests.sh