Skip to content

Rework EAS acceptance tests to inherit from LisaTest v2

Created by: bjackman

This is a successor to https://github.com/ARM-software/lisa/pull/197

Differences from v1:

  • Numerous minor changes and cleanups I won't list
  • Split the changes into more commits
  • In Executor, the experiments dict was changed to be a NamedTuple-
  • Removed test_first_cpu from EasTest and replaced it with a helper method, subclasses must explicitly call it
  • experiment_test decorator moved to utils.test (where LisaTest is)
  • Added missing is_big_little logic to EasTest
  • Fixed the logic EasTest that attaches trace file locations to test failure messages

  • Refactor/enhance the Executor class; most importantly enable the "experiments" to be saved so that test objects can refer back to them in test_ methods
  • Add an EasTest class abstracting the common operations for all EAS acceptance tests. It's likely that some of this functionality (+ documentation which is not written) could go directly into LisaTest at a later date
  • Rework each of the acceptance test classes to inherit from EasTest

Also some miscellaneous cleanups that seem to me to be related to this.

Merge request reports