Revert "build: Drop ShellCheck on Shell Toolbox"

The subsequent commit will touch the POSIX shell implementation, and
hence ShellCheck needs to be run on it.

As long as the POSIX shell implementation is part of the Git repository,
ShellCheck needs to keep running on it, unless it causes some serious
problems.  The ShellCheck test is very fast, and the reassurance and
mental peace that it provides is invaluable.

This reverts commit 8c1d441916.

https://github.com/containers/toolbox/pull/1094
This commit is contained in:
Debarshi Ray 2022-08-29 21:59:08 +02:00
parent 486762925d
commit 56a18d2a15
1 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,12 @@ if tmpfilesdir == '' or not fs.exists('/run/.containerenv')
endif endif
endif endif
toolbox = files('toolbox')
if shellcheck.found()
test('shellcheck', shellcheck, args: [toolbox])
endif
if not skopeo.found() if not skopeo.found()
message('Running system tests requires Skopeo for OCI image manipulation.') message('Running system tests requires Skopeo for OCI image manipulation.')
endif endif