Commit 5a205e5
authored
[ci] Run Go unit tests with
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This PR runs all Golang unit tests in this repository with the
`GODEBUG=fips140=only` environment set. This is useful to detect any
FIPS-140 violations of code covered by these unit tests.
To achieve the above, this PR introduces a new `gotest-fips140-only`
target in `Makefile` and a corresponding `test-fips140-only` target in
`Makefile.Common`.
<!-- Issue number if applicable -->
#### Link to tracking issue
Relates to #13925
<!--Describe what testing was performed and which tests were added.-->
#### Testing
<!--Describe the documentation added.-->
#### Documentation
<!--Please delete paragraphs that you did not use before submitting.-->GODEBUG=fips140=only (#13926)1 parent 85daf49 commit 5a205e5
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
0 commit comments