Skip to content

Commit

Permalink
Fix argv[0] path seeding for local_uuid
Browse files Browse the repository at this point in the history
A follow-on patch will regenerate Make-managed files.

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
  • Loading branch information
ajnelson-nist committed Jan 10, 2024
1 parent bbb9aeb commit c218464
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions tests/gtime_and_done_log/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down
6 changes: 4 additions & 2 deletions tests/gtime_log/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 \
__$@
Expand Down

0 comments on commit c218464

Please sign in to comment.