Never load graphical post-install tests on Modularity for now

Current Modular composes don't include any graphical desktop
bits, so they're never going to want to do this. (This makes
sense for e.g. non-English install tests; we still want to
make sure Russian install works on Modular composes, we just
have to skip the post-install graphical input testing).
This commit is contained in:
Adam Williamson 2017-11-07 13:04:01 -08:00
parent 14bbfaaa3c
commit 0e18c0fc4f

View File

@ -217,6 +217,13 @@ sub _load_early_postinstall_tests {
_load_instance("tests/disk_guided_encrypted_postinstall", $instance);
}
# For now, there's no possibility to get a graphical desktop on
# Modular composes, so short-circuit here for those
if (get_var("MODULAR")) {
_load_instance("tests/_console_wait_login", $instance);
return;
}
# Appropriate login method for install type
if (get_var("DESKTOP")) {
_load_instance("tests/_graphical_wait_login", $instance);