commit ef439b7b5b1ea104bcc13bcdb77de53c09398b38
parent 574489d68c068364b3295bb7e32b9c1c1f337695
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 11 Oct 2023 09:35:52 +0200
Build and run the missing test_htmie_load test
This is an error introduced when translating from CMake to Makefile
(commit 9cef81b).
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -115,7 +115,7 @@ lint:
################################################################################
# Tests
################################################################################
-TEST_SRC = src/test_htmie.c
+TEST_SRC = src/test_htmie.c src/test_htmie_load.c
TEST_OBJ = $(TEST_SRC:.c=.o)
TEST_DEP = $(TEST_SRC:.c=.d)
TEST_MIE_LUT = Mie_LUT_Cloud
@@ -132,7 +132,8 @@ HTMIE_CFLAGS = $$($(PKG_CONFIG_LOCAL) $(PCFLAGS) --cflags htmie-local.pc)
HTMIE_LIBS = $$($(PKG_CONFIG_LOCAL) $(PCFLAGS) --libs htmie-local.pc)
test: build_tests $(TEST_MIE_LUT_VARS)
- @$(SHELL) make.sh check test_htmie $(TEST_MIE_LUT_FILE)
+ @$(SHELL) make.sh check test_htmie
+ @$(SHELL) make.sh check test_htmie_load "$(TEST_MIE_LUT_NETCDF)" ./
$(TEST_MIE_LUT_VARS): $(TEST_MIE_LUT_FILE) src/dump_netcdf_data.sh
$(SHELL) src/dump_netcdf_data.sh \
@@ -155,5 +156,5 @@ $(TEST_DEP): config.mk htmie-local.pc
$(TEST_OBJ): config.mk htmie-local.pc
$(CC) $(CFLAGS) $(RSYS_CFLAGS) $(HTMIE_CFLAGS) -c $(@:.o=.c) -o $@
-test_htmie: config.mk htmie-local.pc
+test_htmie test_htmie_load: config.mk htmie-local.pc
$(CC) -o $@ src/$@.o $(RSYS_LIBS) $(HTMIE_LIBS) -lm