diff --git a/testing/spectest/shared/deneb/fork/transition.go b/testing/spectest/shared/deneb/fork/transition.go index 5946041f5..e6554b159 100644 --- a/testing/spectest/shared/deneb/fork/transition.go +++ b/testing/spectest/shared/deneb/fork/transition.go @@ -31,6 +31,9 @@ func RunForkTransitionTest(t *testing.T, config string) { require.NoError(t, utils.SetConfig(t, config)) testFolders, testsFolderPath := utils.TestFolders(t, config, "deneb", "transition/core/pyspec_tests") + if len(testFolders) == 0 { + t.Fatalf("No test folders found for %s/%s/%s", config, "deneb", "transition/core/pyspec_tests") + } for _, folder := range testFolders { t.Run(folder.Name(), func(t *testing.T) { helpers.ClearCache()