python-blivet/tests/unit_testing.sh
Vojtech Trefny 884f44b1c2 Copy the "tests" directory from CS9
The directory was not imported when creating the C8S branch.

Related: rhbz#2142550
2023-05-17 08:52:11 +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