Skip to content

Commit

Permalink
smoke: no need to run vet and lint
Browse files Browse the repository at this point in the history
There is no need to run vet and lint on the test code.

Signed-off-by: Peng Tao <[email protected]>
  • Loading branch information
bergwolf committed May 16, 2023
1 parent c7c9fad commit af702bc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions smoke/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,12 @@ endif
build:
go test -o smoke.test -c -race -v -cover ./tests

lint:
@go vet $(PACKAGES)
golangci-lint run

# WORK_DIR=/tmp \
# NYDUS_BUILDER=/path/to/latest/nydus-image \
# NYDUS_NYDUSD=/path/to/latest/nydusd \
# NYDUS_NYDUSIFY=/path/to/latest/nydusify \
# make test
test: build lint
test: build
sudo -E ./smoke.test -test.v -test.timeout 10m -test.parallel=8 -test.run=$(TESTS)

# WORK_DIR=/tmp \
Expand All @@ -32,5 +28,5 @@ test: build lint
# NYDUS_NYDUSD_v2_1_4=/path/to/v2.1.4/nydusd \
# NYDUS_NYDUSIFY_v2_1_4=/path/to/v2.1.4/nydusify \
# make test TESTS=TestCompatibility
test-compatibility: build lint
test-compatibility: build
make test TESTS=TestCompatibility

0 comments on commit af702bc

Please sign in to comment.