Skip to content
  • Lunderberg's avatar
    3c86eec1
    [UnitTests] Expose TVM pytest helpers as plugin (#8532) · 3c86eec1
    Lunderberg authored
    * [UnitTests] Expose TVM pytest helpers as plugin
    
    Previously, pytest helper utilities such as automatic parametrization
    of `target`/`dev`, or `tvm.testing.parameter` were only available for
    tests within the `${TVM_HOME}/tests` directory.  This PR extracts the
    helper utilities into an importable plugin, which can be used in
    external tests (e.g. one-off debugging).
    
    * [UnitTests] Refactor the plugin-specific logic out into plugin.py.
    
    * [UnitTests] Moved marker definition out to global variable.
    3c86eec1
    [UnitTests] Expose TVM pytest helpers as plugin (#8532)
    Lunderberg authored
    * [UnitTests] Expose TVM pytest helpers as plugin
    
    Previously, pytest helper utilities such as automatic parametrization
    of `target`/`dev`, or `tvm.testing.parameter` were only available for
    tests within the `${TVM_HOME}/tests` directory.  This PR extracts the
    helper utilities into an importable plugin, which can be used in
    external tests (e.g. one-off debugging).
    
    * [UnitTests] Refactor the plugin-specific logic out into plugin.py.
    
    * [UnitTests] Moved marker definition out to global variable.
Loading