Commit Graph

3 Commits

Author SHA1 Message Date
Anna Schumaker 2e85870c87 list: Don't show empty xunits or tags
Up until now, we've been appending an extra column to the listed output
but allowing it to have empty entries. I'm changing this to filter out
NULL entries, since it turns out that's what I want when I use the
--tags option. I also updated the --xunits option to be consistent.

Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
2023-11-07 15:14:45 -05:00
Anna Schumaker f4b77f527b xfstestsdb: Add an 'Xunit' column to the `xfstestsdb list` table
This is an optional column that can be enabled by passing "--xunit" as
an option. The "--xunit" option takes an optional string that can be
used to filter results by a specific xunit pattern.

Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
2023-02-16 14:22:32 -05:00
Anna Schumaker ceac28e943 xfstestsdb: Create the `xfstestsdb list` command
This uses the Table class to print out a list of xfstests runs in a
table. It supports '--device=', '--tags=', and '--timestamp=' options
that can be used to generate a SQLite GLOB expression to filter the
list of results.

Implements: #10 (`xfstestsdb list`)
Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
2023-02-15 15:57:37 -05:00