Skip to content

Commit

Permalink
WIP: testcase discovery split, #1
Browse files Browse the repository at this point in the history
adds all the engines in tcfl.testcase, tcfl.tc_c to be able to
discover a new style testcase.

Still fails, but handles the failure and reports about it.

Moves a lot of code from tcfl.tc.py to:

- tcfl/testcase.py: internal handling of discovery, etc

- tcfl/__init__.py: pure testcase execution

- tcfl/ui_cli_testcase.py: command line interface to testcase discovery

Removes:

- extra_report_format: unused

- runid_visible: replace with plain runid
  • Loading branch information
inaky-intc committed Jan 25, 2022
1 parent c8f11a8 commit 224cc6b
Show file tree
Hide file tree
Showing 11 changed files with 2,005 additions and 722 deletions.
4 changes: 2 additions & 2 deletions tcf
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,8 @@ if __name__ == "__main__":
# line interface
import tcfl.target_ext_alloc_ui
tcfl.target_ext_alloc_ui._cmdline_setup(arg_subparsers)
import tcfl.ui_cli_run
tcfl.ui_cli_run._cmdline_setup(arg_subparsers)
import tcfl.ui_cli_testcases
tcfl.ui_cli_testcases._cmdline_setup(arg_subparsers)

ap = arg_subparsers.add_parser("healthcheck",
help = "Do a very basic health check")
Expand Down
Loading

0 comments on commit 224cc6b

Please sign in to comment.