Commit | Line | Data |
---|---|---|
4965530a PP |
1 | #!/bin/sh |
2 | ||
3 | export PYTHON_PLUGIN_PROVIDER_TEST_PLUGIN_PATH="@abs_top_srcdir@/tests/python-plugin-provider/bt_plugin_test_python_plugin_provider.py" | |
4 | export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:@abs_top_builddir@/python-plugin-provider:@abs_top_builddir@/python-plugin-provider/.libs" | |
5 | PYTHON_BUILD_DIR="@abs_top_builddir@/bindings/python" | |
6 | BT2_NATIVE_LIBS_DIR="@abs_top_builddir@/bindings/python/bt2/.libs" | |
7 | TESTS_UTILS_PYTHON_DIR="@abs_top_srcdir@/tests/utils/python" | |
8 | TESTRUNNER_PY="@abs_top_srcdir@/tests/utils/python/testrunner.py" | |
9 | THIS_DIR="@abs_top_srcdir@/tests/python-plugin-provider" | |
10 | ||
11 | PYTHONPATH="$PYTHON_BUILD_DIR:$BT2_NATIVE_LIBS_DIR:$TESTS_UTILS_PYTHON_DIR" \ | |
12 | "@PYTHON@" "$TESTRUNNER_PY" "$THIS_DIR" | |
13 | exit $? |