Skip to content
Snippets Groups Projects
  1. Jun 12, 2020
    • Simon McVittie's avatar
      testutils: Exit 1 on failure · 360eeecd
      Simon McVittie authored
      
      At the moment the Python-based tests rely on being run under prove(1)
      so that their TAP output is parsed, but I'm about to add a test that
      enters a container and runs another test script inside the container,
      and using TAP for that is less obvious. Don't rely on our stdout being
      parsed as TAP.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      360eeecd
    • Simon McVittie's avatar
      testutils: Add new module · 34fb71ba
      Simon McVittie authored
      
      BaseTest and test_main are factored out from cheap-copy.py.
      MyCompletedProcess and run_subprocess are taken from the
      SteamLinuxRuntime unit tests, and will be used in later test additions.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      34fb71ba
Loading