<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10752</bug_id>
          
          <creation_ts>2016-11-30 23:14:03 +0000</creation_ts>
          <short_desc>Add test to verify help option in oe scripts and ensure it&apos;s displayed when no required arguments are specified</short_desc>
          <delta_ts>2017-12-07 14:47:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>2.3.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</reporter>
          <assigned_to name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>jair.de.jesus.gonzalez.plascencia</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>joshuagloe</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68760</commentid>
    <comment_count>0</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2016-11-30 23:14:03 +0000</bug_when>
    <thetext>The following oe* scripts exported to the path by oe-init-build-env do NOT provide any help option (either &apos;-h&apos; or &apos;--help&apos; or showing it after missing a required argument):
- oe-buildenv-internal
- oe-find-native-sysroot
- oe-git-proxy
- oe-gnome-terminal-phonehome
- oepydevshell-internal.py
- oe-setup-builddir
- oe-setup-rpmrepo
- oe-trim-schemas

The following scripts provide a help option and display help when executed without arguments:
- oe-check-sstate
- oe-pkgdata-util
- oe-publish-sdk
- oe-selftest
- oe-run-native (this displays an usage message when missing and argument)

On the following one all parameters are optional and help is displayed on demand:
- oe-build-perf-test


The behavior should be standard for all scripts we export to the path. According to this it&apos;s necessary to add tests to validate the following scenarios:
- The help option works and usage, description and options details are displayed for exported oe* scripts.
- Help is displayed if a script is executed without any required arguments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76287</commentid>
    <comment_count>1</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2017-08-29 21:49:10 +0000</bug_when>
    <thetext>Moving to 2.5, due to limited resources.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76299</commentid>
    <comment_count>2</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2017-08-29 22:13:33 +0000</bug_when>
    <thetext>Returning version to 2.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78577</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-12-07 14:47:29 +0000</bug_when>
    <thetext>This is an ambiguous bug, we&apos;ll accept defects for specific issues but this bug is too encompassing. 

For example, several of the scripts in question are internal helper scripts which aren&apos;t as important to have tests for.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>