From 74a5a373f9b88be1f1a676abc08d94e614399f68 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Tue, 17 Nov 2020 20:24:24 -0800 Subject: [PATCH] redefine TEST_PATH to start inside tests/ --- tests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 88f513ca..0290bfd1 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -9,11 +9,11 @@ LIB_DIR := ${build_dir}/lib libcommon_a := ${top_dir}/_build/lib/libcommon.a -TEST_PATH ?= tests/ +TEST_PATH ?= ./ FQBN ?= keyboarido:virtual:model01 -TESTS ?= $(shell find ${top_dir}/${TEST_PATH} -name '*.ino' -exec dirname {} \;) +TESTS ?= $(shell cd $(tests_dir); find ${TEST_PATH} -name '*.ino' -exec dirname {} \;) .PHONY: clean cmake-clean all googletest