Add more comprehensive support for test sharding

This commit is contained in:
David Dworken
2024-02-10 16:44:53 -08:00
parent 93d2b47f7d
commit 8e7b078f03
3 changed files with 79 additions and 124 deletions

View File

@ -366,17 +366,3 @@ func stripRequiredPrefix(t *testing.T, out, prefix string) string {
func stripTuiCommandPrefix(t *testing.T, out string) string {
return stripRequiredPrefix(t, out, "hishtory tquery")
}
func tagAsBasicTest(t *testing.T) {
s := os.Getenv("SPLIT_TESTS")
if s != "" && s != "BASIC" {
t.Skip()
}
}
func tagAsTuiTest(t *testing.T) {
s := os.Getenv("SPLIT_TESTS")
if s != "" && s != "TUI" {
t.Skip()
}
}