diff --git a/tests/gtime_and_done_log/Makefile b/tests/gtime_and_done_log/Makefile index 3ec4e34..70e3ee6 100644 --- a/tests/gtime_and_done_log/Makefile +++ b/tests/gtime_and_done_log/Makefile @@ -13,7 +13,9 @@ SHELL := /bin/bash -top_srcdir := $(shell cd ../.. ; pwd) +top_srcdir_relative := ../.. + +top_srcdir := $(shell cd $(top_srcdir_relative) ; pwd) tests_srcdir := $(top_srcdir)/tests @@ -72,7 +74,7 @@ process.json: \ --target __$@ \ --target-format json-ld source $(tests_srcdir)/venv_minimal/bin/activate \ - && python3 $(top_srcdir)/dependencies/CASE-Utilities-Python/tests/src/compact.py \ + && python3 $(top_srcdir_relative)/dependencies/CASE-Utilities-Python/tests/src/compact.py \ _$@ \ __$@ source $(tests_srcdir)/venv_minimal/bin/activate \ @@ -90,7 +92,7 @@ process.ttl: \ rm -f _$@ __$@ export CDO_DEMO_NONRANDOM_UUID_BASE=$(top_srcdir) \ && source $(tests_srcdir)/venv_minimal/bin/activate \ - && python $(top_srcdir)/case_gnu_time/__init__.py \ + && python $(top_srcdir_relative)/case_gnu_time/__init__.py \ --use-deterministic-uuids \ --done-log echo.txt.done.log \ echo.txt.time.log \ diff --git a/tests/gtime_log/Makefile b/tests/gtime_log/Makefile index 2d6039f..d5df800 100644 --- a/tests/gtime_log/Makefile +++ b/tests/gtime_log/Makefile @@ -13,7 +13,9 @@ SHELL := /bin/bash -top_srcdir := $(shell cd ../.. ; pwd) +top_srcdir_relative := ../.. + +top_srcdir := $(shell cd $(top_srcdir_relative) ; pwd) tests_srcdir := $(top_srcdir)/tests @@ -78,7 +80,7 @@ process.ttl: \ rm -f _$@ __$@ export CDO_DEMO_NONRANDOM_UUID_BASE=$(top_srcdir) \ && source $(tests_srcdir)/venv_minimal/bin/activate \ - && python $(top_srcdir)/case_gnu_time/__init__.py \ + && python $(top_srcdir_relative)/case_gnu_time/__init__.py \ --use-deterministic-uuids \ echo.txt.time.log \ __$@