mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
(cherry picked from commit cfe8ef83f2072b3fb6ba2afdc5837d90ab15fbcf) IJ-MR-188543 GitOrigin-RevId: 60431a7de1ae026408be603d982a5d637e7a309d
15 lines
415 B
Bash
Executable File
15 lines
415 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
PYTHON_PLUGIN_DIR="$(cd "$CURRENT_DIR/.." && pwd)"
|
|
|
|
HELPERS_DIR="$PYTHON_PLUGIN_DIR/helpers"
|
|
PYCHARM_DIR="$HELPERS_DIR/pycharm"
|
|
PY3ONLY_DIR="$HELPERS_DIR/py3only"
|
|
|
|
export PYTHONPATH="$PY3ONLY_DIR:$PYCHARM_DIR:$HELPERS_DIR${PYTHONPATH:+:$PYTHONPATH}"
|
|
|
|
python2 -m pytest --junit-xml=.tox/reports/junit-py27.xml tests
|