Commit Graph

2 Commits

Author SHA1 Message Date
ad48147a48 xfstestsdb: Make sure we clean up the xunits table
We need to delete xunit entries when their associated runs are deleted.

Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
2023-02-16 14:22:32 -05:00
6987a13f54 xfstestsdb: Create the xfstestsdb delete command
This command deletes a row from the xfstests_runs table and prints
either a success or failure message depending on if the row exists.

I use an sqlite trigger to automatically remove tags for the matching run.

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