Skip to content
Snippets Groups Projects
Select Git revision
  • dualcore
  • ch3/leds
  • wip-bootstrap default
  • ch3/time
  • master
5 results

tinytest-codegen.py

Blame
    • Paul Sokolovsky's avatar
      48e931e1
      tools/tinytest-codegen.py: Generate code for upytesthelper. · 48e931e1
      Paul Sokolovsky authored
      The way tinytest was used in qemu-arm test target is that it didn't test
      much. MicroPython tests are based on matching the test output against
      reference output, but qemu-arm's implementation didn't do that, it
      effectively tested just that there was no exception during test
      execution. "upytesthelper" wrapper was introduce to fix it, and so
      test generator is now switched to generate test code for it.
      
      Also, fix PEP8 and other codestyle issues.
      48e931e1
      History
      tools/tinytest-codegen.py: Generate code for upytesthelper.
      Paul Sokolovsky authored
      The way tinytest was used in qemu-arm test target is that it didn't test
      much. MicroPython tests are based on matching the test output against
      reference output, but qemu-arm's implementation didn't do that, it
      effectively tested just that there was no exception during test
      execution. "upytesthelper" wrapper was introduce to fix it, and so
      test generator is now switched to generate test code for it.
      
      Also, fix PEP8 and other codestyle issues.