forked from kaitai-io/kaitai_struct_tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathci-python
More file actions
executable file
·13 lines (10 loc) · 881 Bytes
/
ci-python
File metadata and controls
executable file
·13 lines (10 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
. "$(dirname "$0")/config"
rm -rf "$TEST_OUT_DIR/python" "$TEST_OUT_DIR/python-write"
mkdir -p "$TEST_OUT_DIR/python" "$TEST_OUT_DIR/python-write"
PYTHONPATH="$PYTHON_RUNTIME_DIR:compiled/python:spec/python/extra" PYTHONDONTWRITEBYTECODE=1 PYTHONDEVMODE=1 python -m xmlrunner --output-file "$TEST_OUT_DIR/python/report.xml" --outsuffix '' discover -s spec/python/spec
PYTHONPATH="$PYTHON_RUNTIME_DIR:compiled/python:spec/python:spec/python/extra" PYTHONDONTWRITEBYTECODE=1 PYTHONDEVMODE=1 python -m xmlrunner --output-file "$TEST_OUT_DIR/python-write/report.xml" --outsuffix '' discover -s spec/python/specwrite
./kst-adoption-report python
./kst-adoption-report python-write
aggregate/convert_to_json python "$TEST_OUT_DIR/python" "$TEST_OUT_DIR/python/ci.json"
aggregate/convert_to_json python-write "$TEST_OUT_DIR/python-write" "$TEST_OUT_DIR/python-write/ci.json"