| 1 |
From: Mathias Gibbens <[email protected]> |
| 2 |
Date: Sun, 14 Jun 2026 11:08:07 -0400 |
| 3 |
Subject: Skip YAML Test Suite tests, |
| 4 |
as they require downloading external test data at build time. |
| 5 |
|
| 6 |
Forwarded: not-needed |
| 7 |
--- |
| 8 |
yts/test_suite_test.go | 2 +- |
| 9 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 10 |
|
| 11 |
diff --git a/yts/test_suite_test.go b/yts/test_suite_test.go |
| 12 |
index 0428cef..fb61a98 100644 |
| 13 |
--- a/yts/test_suite_test.go |
| 14 |
+++ b/yts/test_suite_test.go |
| 15 |
@@ -61,7 +61,7 @@ func shouldSkipTest(t *testing.T) { |
| 16 |
func TestYAMLSuite(t *testing.T) { |
| 17 |
testDir := "./testdata/data-2022-01-17" |
| 18 |
if _, err := os.Stat(testDir + "/229Q"); os.IsNotExist(err) { |
| 19 |
|
| 20 |
+ t.Skipf(`YTS tests require data files to be present at '%s'. |
| 21 |
Run 'make get-test-data' to download them first, |
| 22 |
or just run the tests with 'make test'.`, testDir) |
| 23 |
} |