Skip to content

Commit

Permalink
teleproxy.mk: Add a test that it works with CGO_ENABLED=0 in the Make…
Browse files Browse the repository at this point in the history
…file [ci-skip]
  • Loading branch information
LukeShu committed Sep 9, 2019
1 parent 999e1b9 commit f81fbde
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/teleproxy.bats
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ load common
check_go_executable teleproxy.mk TELEPROXY
# TODO: Check that $TELEPROXY behaves correctly
}

@test "teleproxy.mk: TELEPROXY (CGO_ENABLED=0)" {
echo 'export CGO_ENABLED = 0' >> Makefile
check_go_executable teleproxy.mk TELEPROXY
# TODO: Check that $TELEPROXY behaves correctly
}

0 comments on commit f81fbde

Please sign in to comment.