From a0899c76239ce8f3cc02cce8f5c0bbc603f622f2 Mon Sep 17 00:00:00 2001 From: Bernard Davison Date: Wed, 21 Mar 2012 14:06:29 +1100 Subject: [PATCH] trying to fix an error on Linux for the finding of test directories. --- tests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index e5f6198eb5..4a3eba6134 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -3,8 +3,8 @@ PERL = /usr/bin/perl TEST_VERBOSE = 0 NON_TEST_DIRS = lib|results HARDWARE_REGEX = Lisa|Tiny|Umarim -HARDWARE_TEST_DIRS = $(shell find -L * -d 0 -type d | grep -Ev "$(NON_TEST_DIRS)" | grep -E "$(HARDWARE_REGEX)") -NON_HARDWARE_TEST_DIRS = $(shell find -L * -d 0 -type d | grep -Ev "$(NON_TEST_DIRS)" | grep -Ev "$(HARDWARE_REGEX)") +HARDWARE_TEST_DIRS = $(shell find -L $(PAPARAZZI_SRC)/tests -d 1 -type d | grep -Ev "$(NON_TEST_DIRS)" | grep -E "$(HARDWARE_REGEX)") +NON_HARDWARE_TEST_DIRS = $(shell find -L $(PAPARAZZI_SRC)/tests -d 1 -type d | grep -Ev "$(NON_TEST_DIRS)" | grep -Ev "$(HARDWARE_REGEX)") ifneq ($(TARGET_BOARD),) TEST_DIRECTORIES = $(TARGET_BOARD) else