summaryrefslogtreecommitdiff
path: root/testlist.mk
diff options
context:
space:
mode:
Diffstat (limited to 'testlist.mk')
-rw-r--r--testlist.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/testlist.mk b/testlist.mk
index 904485c15c..86da5668ac 100644
--- a/testlist.mk
+++ b/testlist.mk
@@ -8,7 +8,7 @@ include $(PLATFORM_PATH)/test/testlist.mk
define VALIDATE_TEST_LIST
ifneq ($1,)
ifeq ($$(findstring -,$1),-)
- $$(error Test names can't contain '-', but '$1' does)
+ $$(call CATASTROPHIC_ERROR,Invalid test name,Test names can't contain '-', but '$1' does.)
else
$$(eval $$(call VALIDATE_TEST_LIST,$$(firstword $2),$$(wordlist 2,9999,$2)))
endif