From 642d8b89edfbdd8e8c340b0f5d12f57c36990f4a Mon Sep 17 00:00:00 2001
From: Matthias Ringwald <matthias@ringwald.ch>
Date: Wed, 3 Feb 2021 10:53:23 +0100
Subject: [PATCH] test: add test target

---
 test/Makefile | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/test/Makefile b/test/Makefile
index 87128d78a..d3631e453 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -84,20 +84,6 @@ clean:
 	  $(MAKE) -C $$dir clean; \
 	done
 
-subdirs-test:
-	echo Run all tests with ASAN
-	@set -e; \
-	for dir in $(SUBDIRS); do \
-	  $(MAKE) -C $$dir test; \
-	done
-
-subdirs-test-ble:
-	echo Run all BLE tests with ASAN
-	@set -e; \
-	for dir in $(SUBDIRS_BLE); do \
-	  $(MAKE) -C $$dir test; \
-	done
-
 subdirs-coverage:
 	echo Run all tests for coverage
 	@set -e; \
@@ -183,3 +169,17 @@ coverage-pts: coverage-pts.info
 	genhtml coverage-pts.info --branch-coverage --demangle-cpp --config-file lcovrc --output-directory coverage-pts
 
 coverage: coverage-all coverage-ble coverage-bat
+
+test:
+	echo Run all tests with ASAN
+	@set -e; \
+	for dir in $(SUBDIRS); do \
+	  $(MAKE) -C $$dir test; \
+	done
+
+test-ble:
+	echo Run all BLE tests with ASAN
+	@set -e; \
+	for dir in $(SUBDIRS_BLE); do \
+	  $(MAKE) -C $$dir test; \
+	done