|
4 | 4 | all: info docker test ## Run all targets. |
5 | 5 |
|
6 | 6 | .PHONY: test |
7 | | -test: info validate-container-image-labels docker-build-check docker-dev-container-build-check test-lib inspec lint-codebase fix-codebase test-default-config-files test-actions-runner-debug test-actions-steps-debug test-runner-debug test-find lint-subset-files test-custom-ssl-cert test-non-default-workdir test-git-flags test-non-default-home-directory test-git-initial-commit test-git-merge-commit-push test-log-level test-use-find-and-ignore-gitignored-files test-linters-expect-failure-log-level-notice test-bash-exec-library-expect-success test-bash-exec-library-expect-failure test-save-super-linter-output test-save-super-linter-output-custom-path test-save-super-linter-custom-summary test-linters test-linters-fix-mode-expect-success ## Run the test suite |
| 7 | +test: info validate-container-image-labels docker-build-check docker-dev-container-build-check test-lib inspec lint-codebase fix-codebase test-default-config-files test-actions-runner-debug test-actions-steps-debug test-runner-debug test-find lint-subset-files test-custom-ssl-cert test-non-default-workdir test-git-flags test-non-default-home-directory test-git-initial-commit test-git-merge-commit-push test-log-level test-use-find-and-ignore-gitignored-files test-linters-expect-failure-log-level-notice test-bash-exec-library-expect-success test-bash-exec-library-expect-failure test-save-super-linter-output test-save-super-linter-output-custom-path test-save-super-linter-custom-summary test-linters test-linters-fix-mode ## Run the test suite |
8 | 8 |
|
9 | 9 | # if this session isn't interactive, then we don't want to allocate a |
10 | 10 | # TTY, which would fail, but if it is interactive, we do want to attach |
@@ -318,6 +318,14 @@ test-globals-languages: ## Test globals/languages.sh |
318 | 318 | --entrypoint /tmp/lint/test/lib/globalsLanguagesTest.sh \ |
319 | 319 | $(SUPER_LINTER_TEST_CONTAINER_URL) |
320 | 320 |
|
| 321 | +.PHONY: test-globals-linter-command-options |
| 322 | +test-globals-linter-command-options: ## Test globals/LinterCommandsOptions.sh |
| 323 | + docker run \ |
| 324 | + -v "$(CURDIR):/tmp/lint" \ |
| 325 | + -w /tmp/lint \ |
| 326 | + --entrypoint /tmp/lint/test/lib/globalsLinterCommandsOptionsTest.sh \ |
| 327 | + $(SUPER_LINTER_TEST_CONTAINER_URL) |
| 328 | + |
321 | 329 | .PHONY: test-linter-rules |
322 | 330 | test-linter-rules: ## Test linterRules.sh |
323 | 331 | docker run \ |
@@ -416,14 +424,13 @@ test-non-default-home-directory: ## Test a non-default HOME directory |
416 | 424 | "run_test_cases_non_default_home" \ |
417 | 425 | "$(IMAGE)" |
418 | 426 |
|
419 | | -.PHONY: test-linters-fix-mode-expect-success |
420 | | -test-linters-fix-mode-expect-success: ## Run the linters test suite (fix mode) expecting successes |
| 427 | +.PHONY: test-linters-fix-mode |
| 428 | +test-linters-fix-mode: ## Run the linters test suite (fix mode) |
421 | 429 | $(CURDIR)/test/run-super-linter-tests.sh \ |
422 | 430 | $(SUPER_LINTER_TEST_CONTAINER_URL) \ |
423 | 431 | "run_test_case_fix_mode" \ |
424 | 432 | "$(IMAGE)" |
425 | 433 |
|
426 | | - |
427 | 434 | .PHONY: test-linters |
428 | 435 | test-linters: test-linters-expect-success test-linters-expect-failure ## Run the linters test suite |
429 | 436 |
|
|
0 commit comments