Skip to content

Selective test execution and compiler workarounds

Compare
Choose a tag to compare
@rouson rouson released this 26 Apr 00:39
· 386 commits to main since this release
007de65

New Feature

This release enables the selecting a subset of tests to run based on a search for substrings contained in the test output.
All test output is of the form

<Subject>
   passes on <description 1>.
   FAILS on <description 2>.

where the subject describes what is being tested (.e.g, A tensor_range_t object) and the description details how the subject is being tested (e.g., component-wise construction followed by conversion to and from JSON). The subject typically contains a type name such as tensor_range_t. The description typically does not contain a type name. Therefore, running the command

fpm test -- --contains tensor_range_t

will execute and report the outcome of all tests of the given subject, tensor_range_t, and only those tests. For test output similar to that shown above, this would display two test outcomes: one passing and one failing.

By contrast, running the command

fpm test -- --contains "component-wise construction"

would execute and report the outcome of the tests with descriptions containing component-wise construction for any subject.

This release also works around a few compiler bugs and reorders tests so that the fastest and most stable run first.

What's Changed

  • Work around ifx bug by @rouson in #142
  • Fix filename extension for file that has directives by @ktras in #143
  • feat(inference_engine_t): tensor_range_t getters (later removed) by @rouson in #147
  • Cray bug workarounds for compile time bugs by @ktras in #146
  • Feature: redesigned functionality for mapping input and output tensors to and from training ranges by @rouson in #148
  • Test reordering and selective test execution by @rouson in #149

Full Changelog: 0.11.0...0.11.1