summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>2019-04-02 14:38:03 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-03 14:46:57 +0100
commita85a8febf04d763dd5b3d20487d528731105afab (patch)
treeb7068c6f05d60e522c4e24e4b5bfa89b3e5405d4 /scripts
parent50d3ec1ac994fb5968d8edf82823a7e3d1d67d21 (diff)
downloadopenembedded-core-contrib-a85a8febf04d763dd5b3d20487d528731105afab.tar.gz
openembedded-core-contrib-a85a8febf04d763dd5b3d20487d528731105afab.tar.bz2
openembedded-core-contrib-a85a8febf04d763dd5b3d20487d528731105afab.zip
resulttool: Enable report for single result file
Current validation check function inside resulttool disallow the report for single result file although the underlying library was able to handle both directory and file as source input to report. Removed the validation check as it was no longer needed and to enable report for single result file. Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/resulttool10
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/resulttool b/scripts/resulttool
index 5a89e1c9be..18ac101923 100755
--- a/scripts/resulttool
+++ b/scripts/resulttool
@@ -51,13 +51,6 @@ import resulttool.report
import resulttool.manualexecution
logger = scriptutils.logger_create('resulttool')
-def _validate_user_input_arguments(args):
- if hasattr(args, "source_dir"):
- if not os.path.isdir(args.source_dir):
- logger.error('source_dir argument need to be a directory : %s' % args.source_dir)
- return False
- return True
-
def main():
parser = argparse_oe.ArgumentParser(description="OEQA test result manipulation tool.",
epilog="Use %(prog)s <subcommand> --help to get help on a specific command")
@@ -80,9 +73,6 @@ def main():
elif args.quiet:
logger.setLevel(logging.ERROR)
- if not _validate_user_input_arguments(args):
- return -1
-
try:
ret = args.func(args, logger)
except argparse_oe.ArgumentUsageError as ae: