htmie

Optical properties of water droplets
git clone git://git.meso-star.fr/htmie.git
Log | Files | Refs | README | LICENSE

commit 574489d68c068364b3295bb7e32b9c1c1f337695
parent 22186850cdca35da4e3cae0e958bff167db2c0e5
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 11 Oct 2023 09:33:08 +0200

Update the check function of the make.sh file

Redirect the error messages of the if directive to print only the
defined error message. This was partially the case since the error
messages of the test were already redirected. But if the test was
interrupted due to an assertion, segmentation error, user interrupt,
etc., the if directive printed its own error message. Now we redirect it
to /dev/null

Diffstat:
Mmake.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/make.sh b/make.sh @@ -37,7 +37,7 @@ check() printf "\e[1;32mOK\e[m\n" else printf "\e[1;31mError\e[m\n" - fi + fi 2> /dev/null } clean_test()