Skip to content
Snippets Groups Projects

common: Use a subtree instead of a local common folder

Merged Detlev Casanova requested to merge wip/detlev/at8841-fix-ofono-tests into apertis/v2023pre
  1. Nov 16, 2022
  2. Oct 12, 2022
    • Detlev Casanova's avatar
      run-aa-test: Avoid reading previous tests log · 82a22234
      Detlev Casanova authored
      
      To read the log for the currently running test only, the current
      date and time is used with the `--since` argument of
      journalctl.
      
      Sometimes, tests can run too fast one after the other and the last log
      entries of the previous test is at the same timestamp as the one
      running.
      
      That makes the current test parse log entries from the
      previous test, which is unexpected, and the test fails.
      
      Unfortunately, the `--since` argument of journalctl doesn't allow for
      more precision than the second.
      
      To fix that, use the current journal cursor instead of time.
      With this approach, no entries from the previous test is read by the
      current test
      
      Signed-off-by: default avatarDetlev Casanova <detlev.casanova@collabora.com>
      82a22234
Loading