From 2f873a0e2060d47635b01da44277a307e109731d Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Tue, 17 Nov 2020 20:17:58 -0800 Subject: [PATCH] clean up top and test dirs --- testing/makefiles/testcase.mk | 2 +- tests/Makefile | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/testing/makefiles/testcase.mk b/testing/makefiles/testcase.mk index 4dded863..85b2632a 100644 --- a/testing/makefiles/testcase.mk +++ b/testing/makefiles/testcase.mk @@ -1,4 +1,4 @@ -top_dir := $(dir $(lastword ${MAKEFILE_LIST}))../.. +top_dir := $(abspath $(dir $(lastword ${MAKEFILE_LIST}))../..) build_dir := ${top_dir}/_build/${testcase} diff --git a/tests/Makefile b/tests/Makefile index cd135f19..88f513ca 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,4 +1,7 @@ -top_dir := $(abspath $(dir $(lastword ${MAKEFILE_LIST}))..) + +tests_dir := $(abspath $(dir $(lastword ${MAKEFILE_LIST}))) + +top_dir := $(abspath $(tests_dir)/..) build_dir := ${top_dir}/_build