mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-22 12:28:03 +08:00
[tests] fix test_all_confs
This commit is contained in:
@@ -320,7 +320,7 @@ test_examples: all
|
||||
test_all_confs: all
|
||||
$(Q)$(eval $CONFS:=$(shell ./find_confs.py))
|
||||
@echo "************\nFound $(words $($CONFS)) config files: $($CONFS)"
|
||||
$(Q)$(foreach conf,$($CONFS),echo "\n************\nTesting all aircrafts in conf: $(conf)\n************" && (CONF_XML=$(conf) prove tests/examples/ || echo "failed $(conf)" >> TEST_ALL_CONFS_FAILED);) test -f TEST_ALL_CONFS_FAILED && cat TEST_ALL_CONFS_FAILED && rm -f TEST_ALL_CONFS_FAILED && exit 1
|
||||
$(Q)$(foreach conf,$($CONFS),echo "\n************\nTesting all aircrafts in conf: $(conf)\n************" && (CONF_XML=$(conf) prove tests/aircrafts/ || echo "failed $(conf)" >> TEST_ALL_CONFS_FAILED);) test -f TEST_ALL_CONFS_FAILED && cat TEST_ALL_CONFS_FAILED && rm -f TEST_ALL_CONFS_FAILED && exit 1
|
||||
|
||||
# run some math tests that don't need whole paparazzi to be built
|
||||
test_math:
|
||||
|
||||
Reference in New Issue
Block a user