#4 Rewrite test discovery
Closed 3 years ago by netvor. Opened 5 years ago by netvor.

Current discovery (jattool sfind, jattool tfind and partially jattool runtest) works but is very slow. The reason is that the code is written in kinda lazy PoC way and is meant to be replaced by FMF-based solution.

Basically all that is now in .jats sub-directory of suite could be already replaced with main.fmf.

Note that version is the only exception, and it will probably stay that way because version is meant to only exist after make, ie. the version file intentonally does not exist untill MKit comes around and uses version.skel to generate it (and re-use it in rpm, etc.). If suite is not built yet (ie. test is ran directly from repo), version should default to _jats_no_version or something like that. I'm not sure this can be easily done with fmf: adding it to main.fmf and renaming it to main.fmf.skel would remove possibility to investigate meta-data ad-hoc (fmf tool will not see main.fmf.skel), and having fmf to do the fallback seems outside its domain. After all, version really is specific in that it exclusively relates to suite build rather than the source code.


Metadata Update from @netvor:
- Issue tagged with: isa--idea

5 years ago

Metadata Update from @netvor:
- Issue untagged with: isa--idea

5 years ago

Metadata Update from @netvor:
- Issue tagged with: changes--inew, changes--iremove, isa--rfe

5 years ago

Metadata Update from @netvor:
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata