Delete merge-check.sh, check-nested-modules.sh, the store-tests list and RELEASE-57: the checker runs the build module's steps, nested modules by convention (issue 1294, C7a and C7b)

This commit is contained in:
2026-10-23 15:14:01 +02:00
parent 505694c424
commit 6300a5b31c
8 changed files with 23 additions and 721 deletions
+22
View File
@@ -0,0 +1,22 @@
package lint
import (
"os"
"path/filepath"
"testing"
)
// What this repository no longer holds (R4g, design 47 acceptance test 24): the checker runs the build module's own steps
// and the repository's tests, so no script of the repository stands in for them. A file named here came back.
// root is this repository's root, from the package's directory.
const root = "../.."
func TestTheRepositoryHoldsNoMergeCheckScript(t *testing.T) {
for _, name := range []string{"merge-check.sh", "check-nested-modules.sh", "RELEASE-57.md", "testdata/store-tests"} {
if _, err := os.Stat(filepath.Join(root, name)); err == nil {
t.Errorf("%s is in the repository: the checker (ADR 0501 §5) runs its steps, and no script of the repository "+
"stands in for it", name)
}
}
}