2021-06-17 11:37:14 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Bail out if anything goes wrong
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Get path to blivet
|
2021-08-17 08:07:41 +00:00
|
|
|
blivet_path=$(find /usr/ -path */site-packages | tr '\n' ':')
|
2021-06-17 11:37:14 +00:00
|
|
|
|
|
|
|
# Run upstream unit tests
|
|
|
|
cd ./source/
|
2021-08-17 08:07:41 +00:00
|
|
|
PYTHONPATH=$blivet_path python3 tests/run_tests.py
|