github / super-linter Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Harden testing #982
Harden testing #982
Conversation
@admiralAwkbar basically what happens is:
Example of an expected TAP:
There are issues in this approach when the output has dynamic parts. I suspect that's the reason why some languages (such as arm-ttk) have a TAP file, but with an PS: found some info here #421 PPS: we can tweak the |
@admiralAwkbar almost there. I'm missing a regex and fixing a weird formatting issue with the powershell test. |
@admiralAwkbar finally ready for review. |
Great work @ferrarimarco ! Dunno what it all means to be honest (TAP?) but hopefully will help catch things in future and looks like a huge amount of work, so thanks! |
LOL. TAP = Test Anything Protocol. It's a semi-structured protocol for test reporting. We're using it in super-linter to check if the test results match our expectations. |
Fixes #949
(maybe we can add more tests/validation in this PR before actually closing #949)
Proposed Changes
WARNING_ARRAY_TEST
declaration, export, and iteration over because we now fail on each error, instead of printing warnings.ERROR_ON_MISSING_EXEC_BIT
totrue
in our builds.1
..tap
files from the list when validating Dockerfiles.fatal
instead of an explicitexit 1
to terminate testing.Readiness Checklist
Author/Contributor
Reviewing Maintainer
breaking
if this is a large fundamental changeautomation
,bug
,documentation
,enhancement
,infrastructure
, orperformance