Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
04c0fbf9
Commit
04c0fbf9
authored
May 13, 2011
by
JINMEI Tatuya
Browse files
[master] fixed test failure due to missing path configuration to internal
libraries for MacOS X. trivial, and okayed on jabber.
parent
224c7b9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/cfgmgr/plugins/tests/Makefile.am
View file @
04c0fbf9
...
...
@@ -3,6 +3,13 @@ PYTESTS = tsig_keys_test.py
EXTRA_DIST
=
$(PYTESTS)
# If necessary (rare cases), explicitly specify paths to dynamic libraries
# required by loadable python modules.
LIBRARY_PATH_PLACEHOLDER
=
if
SET_ENV_LIBRARY_PATH
LIBRARY_PATH_PLACEHOLDER
+=
$(ENV_LIBRARY_PATH)
=
$(abs_top_builddir)
/src/lib/dns/.libs:
$(abs_top_builddir)
/src/lib/cryptolink/.libs:
$(abs_top_builddir)
/src/lib/util/.libs:
$(abs_top_builddir)
/src/lib/exceptions/.libs
endif
# test using command-line arguments, so use check-local target instead of TESTS
check-local
:
if
ENABLE_PYTHON_COVERAGE
...
...
@@ -14,6 +21,7 @@ endif
echo Running test
:
$$pytest ;
\
env B10_TEST_PLUGIN_DIR=$(abs_srcdir)/..:$(abs_builddir)/..
\
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/dns/python/.libs
\
$(LIBRARY_PATH_PLACEHOLDER)
\
$(PYCOVERAGE_RUN) $(abs_srcdir)/$$pytest || exit ;
\
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment