Add rudimentary experiment of splitting tests into two chunks to make them faster

This commit is contained in:
David Dworken
2024-02-09 19:17:23 -08:00
parent fbcdece1bf
commit d646939c00
4 changed files with 77 additions and 1 deletions

View File

@ -366,3 +366,17 @@ 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()
}
}