Skip to content
Snippets Groups Projects
  1. Apr 29, 2021
    • Andy Shevchenko's avatar
      test: Allow simple glob pattern in the test name · ff232a72
      Andy Shevchenko authored and Simon Glass's avatar Simon Glass committed
      
      When run `ut dm [test name]` allow to use simple pattern to run all tests
      started with given prefix. For example, to run all ACPI test cases:
      	ut dm acpi*
      
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      ff232a72
    • Simon Glass's avatar
      dtoc: Correct dtoc output when testing · 17073252
      Simon Glass authored
      
      At present each invocation of run_steps() updates OUTPUT_FILES_COMMON,
      since it does not make a copy of the dict. This is fine for a single
      invocation, but for tests, run_steps() is invoked many times.
      
      As a result it may include unwanted items from the previous run, if it
      happens that a test runs twice on the same CPU. The problem has not been
      noticied previously, as there are few enough tests and enough CPUs that
      is is rare for the 'wrong' combination of tests to run together.
      
      Fix this by making a copy of the dict, before updating it. Update the
      tests to suit, taking account of the files that are no-longer generated.
      
      With this fix, we no-longer generate files which are not needed for a
      particular state of OF_PLATDATA_INST, so the check_instantiate() function
      is not needed anymore. It has become dead code and so fails the
      code-coverage test (dtoc -T). Remove it.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      17073252
    • Simon Glass's avatar
      binman: Correct testSplNoDtb() and Tpl also · 0fe44dc6
      Simon Glass authored
      
      These two tests require an ELF image so that symbol information can be
      written into the SPL/TPL binary. At present they rely on other tests
      having set it up first, but every test must run independently. This can
      cause occasional errors in CI.
      
      Fix this by setting up the required files, as other tests do.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      0fe44dc6
  2. Apr 27, 2021
  3. Apr 26, 2021
  4. Apr 25, 2021
  5. Apr 24, 2021
Loading