star-meteo

Time varying meteorological data
git clone git://git.meso-star.fr/star-meteo.git
Log | Files | Refs | README | LICENSE

commit 503ac4babaa86f968cdc87a526342e6d149f3559
parent c90e208cddb1d72fc7ecb6f66eec873dd811f1fc
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 18 Aug 2025 15:37:45 +0200

Automate ground test

It is added to the "test" target in the Makefile.

Diffstat:
MMakefile | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -274,6 +274,16 @@ test: tests util err=$$((err+1)); \ fi \ done; \ + if [ "$(PLUGIN)" = "stardis" ]; then \ + if $(SHELL) \ + src/test_stardis_smeteo_ground_temperature.sh \ + samples/star-meteo_input.txt > /dev/null 2>&1; then \ + printf 'test_stardis_smeteo_ground_temperature\n'; \ + else \ + printf 'test_stardis_smeteo_ground_temperature: error %s\n' "$$?"; \ + err=$$((err+1)); \ + fi; \ + fi; \ for file in $(TEST_FILES_INVALID); do \ if ! LD_LIBRARY_PATH=./:"$${LD_LIBRARY_PATH}" \ ./smeteo "$${file}"> /dev/null 2>&1; then \