Index: debuginfo-tests/dexter/dex/tools/TestToolBase.py =================================================================== --- debuginfo-tests/dexter/dex/tools/TestToolBase.py +++ debuginfo-tests/dexter/dex/tools/TestToolBase.py @@ -93,12 +93,20 @@ 'could not create directory "{}" ({})'. format(options.results_directory, e.strerror)) + # Checks if the provided options are valid/supported by this tool + # if it return false, the tool fails. + def _verify_options(self, options) -> bool: + return True + def go(self) -> ReturnCode: # noqa options = self.context.options options.executable = os.path.join( self.context.working_directory.path, 'tmp.exe') + if not self._verify_options(options): + return ReturnCode.FAIL + if os.path.isdir(options.test_path): subdirs = sorted([