From 058e6cbcda1104455c7e0f777e0170f9eedd483a Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 27 Sep 2021 13:34:08 +0200 Subject: [PATCH] [calamares] Log failed module-load in test-application --- src/calamares/testmain.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/calamares/testmain.cpp b/src/calamares/testmain.cpp index 35cddfce8..c0258eb54 100644 --- a/src/calamares/testmain.cpp +++ b/src/calamares/testmain.cpp @@ -325,6 +325,17 @@ load_module( const ModuleConfig& moduleConfig ) { break; } + else + { + if ( !fi.exists() ) + { + cDebug() << "Expected a descriptor file" << fi.path(); + } + else + { + cDebug() << "Read descriptor" << fi.path() << "and it was empty."; + } + } } }