summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeyorp <TheFreeYorp+git@gmail.com>2024-06-05 23:47:39 +0000
committerFreeyorp <TheFreeYorp+git@gmail.com>2024-06-05 23:57:13 +0000
commit4fcaed08178d736205ab14b6fd956ba0f09f445b (patch)
tree1d8dc490bda1e86b0e8a4e8fa4acdd58d4b175c7
parent6a3ded9d3c85e54a5a008ba2f125520c63cfb641 (diff)
downloadtmwa-4fcaed08178d736205ab14b6fd956ba0f09f445b.tar.gz
tmwa-4fcaed08178d736205ab14b6fd956ba0f09f445b.tar.bz2
tmwa-4fcaed08178d736205ab14b6fd956ba0f09f445b.tar.xz
tmwa-4fcaed08178d736205ab14b6fd956ba0f09f445b.zip
DTEST: Provide LD_LIBRARY_PATH
How did this ever work before? Did it expect there to be a previously installed libtmwa-shared.so and run tests against that, rather than what was just built?
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 2b0c632..4c12e06 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -566,7 +566,7 @@ obj/gtest%.pdc.o: ${GTEST_DIR}/src/gtest%.cc
DTEST_OBJS := $(filter obj/debug-debug/%.pdc.o,${PDC_OBJECTS})
DTEST_STAMPS := $(patsubst bin/tests/%.elf,stamp/run-%.stamp,${DTEST_BINARIES})
${DTEST_OBJS}: override CXXFLAGS += -g -O0 -gdwarf-3
-${DTEST_STAMPS}: override TESTER=${GDB} -return-child-result -nx -batch -ex 'python file_to_load = "$<"' -x ${SRC_DIR}/tools/debug-debug.gdb --args false
+${DTEST_STAMPS}: override TESTER=LD_LIBRARY_PATH="./lib" ${GDB} -return-child-result -nx -batch -ex 'python file_to_load = "$<"' -x ${SRC_DIR}/tools/debug-debug.gdb --args false
${DTEST_STAMPS}: tools/debug-debug.gdb
test: test-direct