python-blivet/tests/unit_testing.sh
Vojtech Trefny 0d35f1887b Rebase to the latest upstream release 3.10.0
Resolves: RHEL-35572
2024-05-13 13:46:20 +02:00

12 lines
229 B
Bash

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