scripts/reporter/common.py
Anna Schumaker f1b6f42009 report-xfstests: Split out the test chooser into a new file
And add support for tests against tagged kernels

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-01 15:21:55 -05:00

15 lines
346 B
Python

#!/usr/bin/python
import gi
import pathlib
import xdg.BaseDirectory
gi.require_version("Gtk", "4.0")
from gi.repository import Gtk
XFSTESTS_BASE = pathlib.Path(xdg.BaseDirectory.xdg_data_home) / "xfstests"
XFSTESTS_DATE = XFSTESTS_BASE / "date"
XFSTESTS_TAGS = XFSTESTS_BASE / "tags"
SizeGroup = Gtk.SizeGroup.new(Gtk.SizeGroupMode.VERTICAL)