Commit 5fceda56b69596e5581ebe51b16a8883023777cd

Authored by Jürgen Knödlseder
1 parent c79b71d0

Add ctools and gammalib library paths to LD_LIBRARY_PATH for unit testing.

Using the clang compiler, the ctools and gammalib libraries were not found. Adding the paths helps.
Showing 1 changed file with 3 additions and 1 deletions
test/Makefile.am
@@ -12,7 +12,9 @@ if WITH_PYTHON @@ -12,7 +12,9 @@ if WITH_PYTHON
12 endif 12 endif
13 13
14 # Set test environment 14 # Set test environment
15 -TESTS_ENVIRONMENT = $(TEST_PYTHON_ENV) 15 +#TESTS_ENVIRONMENT = $(TEST_PYTHON_ENV)
  16 +TESTS_ENVIRONMENT = @RUNSHARED@=$(top_builddir)/src/.libs$(TEST_ENV_DIR):$(LIBDIR_GAMMALIB):$(@RUNSHARED@) \
  17 + $(TEST_PYTHON_ENV)
16 18
17 # Tests (these are the tests to be executed) 19 # Tests (these are the tests to be executed)
18 TESTS = test_ctools.sh \ 20 TESTS = test_ctools.sh \