From f1e5e7ef2f5f95c3c4e5b0380607a94499debe7b Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 25 Dec 2021 16:33:10 -0600 Subject: [PATCH] Update: Testfiles should detect LD_LIBRARY_PATH. If LD_LIBRARY_PATH is already defined, prepend to it. Otherwise define it. --- level_0/f_memory/data/build/testfile | 5 ++++- level_0/f_type_array/data/build/testfile | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/level_0/f_memory/data/build/testfile b/level_0/f_memory/data/build/testfile index d43f58f..c9af589 100644 --- a/level_0/f_memory/data/build/testfile +++ b/level_0/f_memory/data/build/testfile @@ -10,7 +10,10 @@ main: build settings build settings-tests - define LD_LIBRARY_PATH build/libraries/shared + if defined environment LD_LIBRARY_PATH + define LD_LIBRARY_PATH build/libraries/shared:define:"LD_LIBRARY_PATH" + else + define LD_LIBRARY_PATH build/libraries/shared if exists build/programs/shared/test-f_memory shell build/programs/shared/test-f_memory diff --git a/level_0/f_type_array/data/build/testfile b/level_0/f_type_array/data/build/testfile index 5098800..f67d808 100644 --- a/level_0/f_type_array/data/build/testfile +++ b/level_0/f_type_array/data/build/testfile @@ -10,6 +10,11 @@ main: build settings build settings-tests + if defined environment LD_LIBRARY_PATH + define LD_LIBRARY_PATH build/libraries/shared:define:"LD_LIBRARY_PATH" + else + define LD_LIBRARY_PATH build/libraries/shared + if exists build/programs/shared/test-f_type_array shell build/programs/shared/test-f_type_array -- 1.8.3.1