Skip to content

Commit

Permalink
feat(Makefile): add test for the modbus-cli tool
Browse files Browse the repository at this point in the history
  • Loading branch information
dammarco committed Mar 8, 2023
1 parent c9ee23b commit 44180bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ test:
diagslave -m tcp -p 5020 & diagslave -m enc -p 5021 & go test -run TCP -v $(shell glide nv)
socat -d -d pty,raw,echo=0 pty,raw,echo=0 & diagslave -m rtu /dev/pts/1 & go test -run RTU -v $(shell glide nv)
socat -d -d pty,raw,echo=0 pty,raw,echo=0 & diagslave -m ascii /dev/pts/3 & go test -run ASCII -v $(shell glide nv)
go test -v -count=1 github.com/grid-x/modbus/cmd/modbus-cli

.PHONY: lint
lint:
Expand Down

0 comments on commit 44180bf

Please sign in to comment.