[RTEMS Project] #4265: Add rtems_get_build_hash()

RTEMS trac trac at rtems.org
Tue Feb 23 09:38:48 UTC 2021


#4265: Add rtems_get_build_hash()
------------------------------+-----------------------------
  Reporter:  Sebastian Huber  |      Owner:  Sebastian Huber
      Type:  enhancement      |     Status:  assigned
  Priority:  normal           |  Milestone:  6.1
 Component:  rtems            |    Version:  6
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:
------------------------------+-----------------------------
 Add a function to report a hash value of the build environment in the test
 suite results.
 {{{#!c
 /* Generated from spec:/rtems/config/if/get-build-hash */

 /**
  * @ingroup RTEMSAPIConfig
  *
  * @brief Gets the RTEMS build hash.
  *
  * The build hash is calculated from all key-value pairs of the build
  * environment.  Local file system paths in the values do not contribute
 to the
  * hash value.
  *
  * @return Returns the pointer to the RTEMS build hash.
  *
  * @par Notes
  * The build hash can be used to distinguish test suite results obtained
 from
  * different build environments.
  *
  * @par Constraints
  * @parblock
  * The following constraints apply to this directive:
  *
  * * The directive may be called from within any runtime context.
  *
  * * The directive will not cause the calling task to be preempted.
  * @endparblock
  */
 const char *rtems_get_build_hash( void );
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4265>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list