Vojtech Trefny 66ecf7
#!/bin/bash
Vojtech Trefny 66ecf7
Vojtech Trefny 66ecf7
# Bail out if anything goes wrong
Vojtech Trefny 66ecf7
set -e
Vojtech Trefny 66ecf7
Vojtech Trefny 66ecf7
# Get path to blivet
Vojtech Trefny 4bf6a0
blivet_path=$(find /usr/ -path */site-packages | tr '\n' ':')
Vojtech Trefny 66ecf7
Vojtech Trefny 66ecf7
# Run upstream unit tests
Vojtech Trefny 66ecf7
cd ./source/
Vojtech Trefny 4bf6a0
PYTHONPATH=$blivet_path python3 tests/run_tests.py