Blame tests/unit_testing.sh
|
Michel Alexandre Salim |
01f1db |
#!/bin/bash
|
|
Michel Alexandre Salim |
01f1db |
|
|
Michel Alexandre Salim |
01f1db |
# Bail out if anything goes wrong
|
|
Michel Alexandre Salim |
01f1db |
set -e
|
|
Michel Alexandre Salim |
01f1db |
|
|
Michel Alexandre Salim |
01f1db |
# Get path to blivet
|
|
Michel Alexandre Salim |
01f1db |
blivet_path=$(find /usr/ -path */site-packages | tr '\n' ':')
|
|
Michel Alexandre Salim |
01f1db |
|
|
Michel Alexandre Salim |
01f1db |
# Run upstream unit tests
|
|
Michel Alexandre Salim |
01f1db |
cd ./source/
|
|
Michel Alexandre Salim |
01f1db |
PYTHONPATH=$blivet_path python3 tests/run_tests.py
|