Skip to content

Commit fbf48a9

Browse files
committed
Makefile: switch test/sanity to test-sanity
1 parent ad45872 commit fbf48a9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
# Currently, prow/api-ci tests all PRs that target master; use travis for post merge testing and non-master PRs
153153
if: type != pull_request OR branch != master
154154
<<: *dep_before_install
155-
script: make test/sanity test-unit test-markdown
155+
script: make test-sanity test-unit test-markdown
156156
after_success: echo 'Tests Passed'
157157
after_failure: echo 'Failure in unit, sanity, or markdown test'
158158

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ build/%.asc:
104104
}
105105

106106
# Static tests.
107-
.PHONY: test test-markdown test/sanity test-unit
107+
.PHONY: test test-markdown test-sanity test-unit
108108

109109
test: test-unit ## Run the tests
110110

111111
test-markdown:
112112
./hack/ci/marker --root=doc
113113

114-
test/sanity: tidy
114+
test-sanity: tidy
115115
./hack/tests/sanity-check.sh
116116

117117
test-unit: ## Run the unit tests
@@ -122,7 +122,7 @@ test-unit: ## Run the unit tests
122122
# CI tests.
123123
.PHONY: test/ci
124124

125-
test/ci: test-markdown test/sanity test-unit install test/subcommand test/e2e ## Run the CI test suite
125+
test/ci: test-markdown test-sanity test-unit install test/subcommand test/e2e ## Run the CI test suite
126126

127127
# Subcommand tests.
128128
.PHONY: test/subcommand test/subcommand/test-local test/subcommand/scorecard test/subcommand/olm-install

doc/dev/testing/running-the-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ All the tests are run through the [`Makefile`][makefile]. This is a brief descri
5555

5656
- `test` - Runs the unit tests (`test-unit`).
5757
- `test/ci` - Runs markdown, sanity, and unit tests, installs the SDK binary, and runs the SDK subcommand and all E2E tests.
58-
- `test/sanity` - Runs sanity checks.
58+
- `test-sanity` - Runs sanity checks.
5959
- `test-unit` - Runs unit tests.
6060
- `test/subcommand` - Runs subcommand tests.
6161
- `test/e2e` - Runs all E2E tests (`test/e2e/go`, `test/e2e/ansible`, `test/e2e/ansible-molecule`, and `e2e/helm`).

0 commit comments

Comments
 (0)