mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-05 08:37:31 -04:00
unix: factor out mkmerge into a proper package
Factor mkmerge.go and mkmerge_test.go into package internal/mkmerge. Due to ignore constraints, mkmerge_test.go wasn't run by the Go builders and failing tests were unnoticed. Factoring mkmerge into its own package and removing ignore constraints makes the tests run automatically by the Go builders. Fixes golang/go#49484 Change-Id: I56a0b7220e40d1d7e5193490cb547cad4202f9ac Reviewed-on: https://go-review.googlesource.com/c/sys/+/363334 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Bryan C. Mills <bcmills@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Trust: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
7c45f0c2c7
commit
7580c6e521
+1
-1
@@ -149,7 +149,7 @@ To add a constant, add the header that includes it to the appropriate variable.
|
||||
Then, edit the regex (if necessary) to match the desired constant. Avoid making
|
||||
the regex too broad to avoid matching unintended constants.
|
||||
|
||||
### mkmerge.go
|
||||
### internal/mkmerge
|
||||
|
||||
This program is used to extract duplicate const, func, and type declarations
|
||||
from the generated architecture-specific files listed below, and merge these
|
||||
|
||||
Reference in New Issue
Block a user