Commit 5fceda56b69596e5581ebe51b16a8883023777cd
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 | 12 | endif |
| 13 | 13 | |
| 14 | 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 | 19 | # Tests (these are the tests to be executed) |
| 18 | 20 | TESTS = test_ctools.sh \ | ... | ... |