]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1150] Make regenerated scripts executable
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Thu, 25 Aug 2011 12:09:40 +0000 (14:09 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Thu, 25 Aug 2011 12:09:40 +0000 (14:09 +0200)
When they are regenerated by make (not during initial configure run),
they were not set executable, which was useless. This way they are set
executable twice during the initial configure-make-make check, but at
last it works.

src/bin/bind10/tests/Makefile.am
src/bin/cfgmgr/tests/Makefile.am
src/bin/tests/Makefile.am
src/bin/xfrout/tests/Makefile.am
src/lib/python/isc/log/tests/Makefile.am

index 3f87fb55a171fdc87f5242c977916d3b8b717982..f388ba1cbe00a575b7a931d6dc0bead913b767e7 100644 (file)
@@ -20,6 +20,7 @@ if ENABLE_PYTHON_COVERAGE
 endif
        for pytest in $(PYTESTS) ; do \
        echo Running test: $$pytest ; \
+       chmod +x $(abs_builddir)/$$pytest ; \
        $(LIBRARY_PATH_PLACEHOLDER) \
        env PYTHONPATH=$(abs_top_srcdir)/src/lib/python:$(abs_top_builddir)/src/lib/python:$(abs_top_srcdir)/src/bin:$(abs_top_builddir)/src/bin/bind10:$(abs_top_builddir)/src/lib/util/io/.libs \
        BIND10_MSGQ_SOCKET_FILE=$(abs_top_builddir)/msgq_socket \
index 24ff2bc4b0671cc148ca89503a83bfbd6954a5d1..99f8cc9471cfe03c4277fe26124360552c70213e 100644 (file)
@@ -20,6 +20,7 @@ if ENABLE_PYTHON_COVERAGE
 endif
        for pytest in $(PYTESTS) ; do \
        echo Running test: $$pytest ; \
+       chmod +x $(abs_builddir)/$$pytest ; \
        env TESTDATA_PATH=$(abs_srcdir)/testdata \
        $(LIBRARY_PATH_PLACEHOLDER) \
        env PYTHONPATH=$(abs_top_srcdir)/src/lib/python:$(abs_top_builddir)/src/lib/python:$(abs_top_builddir)/src/bin/cfgmgr:$(abs_top_builddir)/src/lib/python/isc/config \
index 56ff68b0c74e6e83e50882796253301e17ca1673..034152c1737f6c8e54fdab19158f0bc1d221bb25 100644 (file)
@@ -20,6 +20,7 @@ if ENABLE_PYTHON_COVERAGE
 endif
        for pytest in $(PYTESTS) ; do \
        echo Running test: $$pytest ; \
+       chmod +x $(abs_builddir)/$$pytest ; \
        $(LIBRARY_PATH_PLACEHOLDER) \
        env PYTHONPATH=$(abs_top_srcdir)/src/lib/python:$(abs_top_builddir)/src/lib/python:$(abs_top_builddir)/src/lib/dns/python/.libs \
        $(PYCOVERAGE_RUN) $(abs_builddir)/$$pytest || exit ; \
index cf520b10059cf2f440bdddd3b2137cf3c620d2b7..2f1e2eaef5e3428b912a0ded39b76341b391b7fd 100644 (file)
@@ -18,6 +18,7 @@ if ENABLE_PYTHON_COVERAGE
 endif
        for pytest in $(PYTESTS) ; do \
        echo Running test: $$pytest ; \
+       chmod +x $(abs_builddir)/$$pytest ; \
        $(LIBRARY_PATH_PLACEHOLDER) \
        env PYTHONPATH=$(abs_top_builddir)/src/bin/xfrout:$(abs_top_srcdir)/src/lib/python:$(abs_top_builddir)/src/lib/python:$(abs_top_builddir)/src/lib/dns/python/.libs:$(abs_top_builddir)/src/lib/util/io/.libs \
        $(PYCOVERAGE_RUN) $(abs_builddir)/$$pytest || exit ; \
index 03c30cdca9b428a0ca974363db28e0d89bf6083b..a23887c6975c588479cfb44225334497f233d8b9 100644 (file)
@@ -14,6 +14,7 @@ endif
 # test using command-line arguments, so use check-local target instead of TESTS
 # We need to run the cycle twice, because once the files are in builddir, once in srcdir
 check-local:
+       chmod +x $(abs_builddir)/log_console.py
        $(LIBRARY_PATH_PLACEHOLDER) \
        env PYTHONPATH=$(abs_top_srcdir)/src/lib/python:$(abs_top_builddir)/src/lib/python:$(abs_top_builddir)/src/lib/python/isc/log \
        $(abs_srcdir)/check_output.sh $(abs_builddir)/log_console.py $(abs_srcdir)/console.out
@@ -31,6 +32,7 @@ endif
        done ; \
        for pytest in $(PYTESTS_GEN) ; do \
        echo Running test: $$pytest ; \
+       chmod +x $(abs_builddir)/$$pytest ; \
        $(LIBRARY_PATH_PLACEHOLDER) \
        env PYTHONPATH=$(abs_top_srcdir)/src/lib/python:$(abs_top_builddir)/src/lib/python:$(abs_top_builddir)/src/lib/python/isc/log:$(abs_top_builddir)/src/lib/log/python/.libs \
        B10_TEST_PLUGIN_DIR=$(abs_top_srcdir)/src/bin/cfgmgr/plugins \