htgop

Optical properties of a gas mixture
git clone git://git.meso-star.fr/htgop.git
Log | Files | Refs | README | LICENSE

commit 6f1ac462ec9fe92640698408b1d0374a8561bdd0
parent b894117b2fcb3fb1f8d49bb8dea5977752138a75
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 11 Oct 2023 16:28:55 +0200

Small update to the make.sh check function

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()