ukify: Skip test on architectures without UEFI
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
1e17e48b96
commit
5121f7c45b
@@ -45,6 +45,13 @@ except ImportError as e:
|
||||
sys.path.append(os.path.dirname(__file__) + '/..')
|
||||
import ukify
|
||||
|
||||
# Skip if we're running on an architecture that does not use UEFI.
|
||||
try:
|
||||
ukify.guess_efi_arch()
|
||||
except ValueError as e:
|
||||
print(str(e), file=sys.stderr)
|
||||
sys.exit(77)
|
||||
|
||||
build_root = os.getenv('PROJECT_BUILD_ROOT')
|
||||
try:
|
||||
slow_tests = bool(int(os.getenv('SYSTEMD_SLOW_TESTS', '1')))
|
||||
|
||||
Reference in New Issue
Block a user