Commit 2636bc84c3bfe298028cf8af35263620b078971c

Authored by knodlseder
1 parent 44b399c6

add cscripts tests

Showing 1 changed file with 6 additions and 3 deletions
test/Makefile.am
... ... @@ -6,8 +6,10 @@
6 6  
7 7 # Optional python bindings
8 8 if WITH_PYTHON
  9 + TEST_CSCRIPTS = test_cscripts.sh
  10 + TEST_CSCRIPTS_BIN = PATH=$(top_builddir)/scripts:$(PATH)
9 11 TEST_PYTHON_SCRIPT = test_python.py
10   - TEST_PYTHON_ENV = PYTHONPATH=$(top_builddir)/pyext/build:$(pythondir):$(PYTHONPATH)
  12 + TEST_PYTHON_ENV = PYTHONPATH=$(top_builddir)/pyext/build:$(pythondir):$(top_builddir)/scripts:$(PYTHONPATH)
11 13 endif
12 14  
13 15 # Include directories
... ... @@ -20,10 +22,11 @@ INCLUDES = -I$(top_srcdir)/include \
20 22 # Set test environment
21 23 TESTS_ENVIRONMENT = LD_LIBRARY_PATH=$(top_builddir)/src/.libs:$(prefix)/lib:$(LD_LIBRARY_PATH) \
22 24 PATH=$(top_builddir)/src/ctobssim:$(top_builddir)/src/ctbin:$(top_builddir)/src/ctselect:$(top_builddir)/src/ctlike:$(PATH) \
23   - $(TEST_PYTHON_ENV)
  25 + $(TEST_PYTHON_ENV) $(TEST_CSCRIPTS_BIN)
24 26  
25 27 # Tests (these are the tests to be executed)
26   -TESTS = test_ctatools.sh \
  28 +TESTS = test_ctools.sh \
  29 + $(TEST_CSCRIPTS) \
27 30 $(TEST_PYTHON_SCRIPT)
28 31  
29 32 # Standard test sources and links
... ...