Skip to content

Commit

Permalink
test: remove executable check in SetupGoTest.cmake file (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal authored Apr 22, 2024
1 parent 8d954a1 commit a32ad2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.29)
cmake_minimum_required(VERSION 3.19)

project(
SetupGo
Expand Down
4 changes: 0 additions & 4 deletions test/cmake/SetupGoTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ if("Set up the latest version of Go" MATCHES ${TEST_MATCHES})
message(FATAL_ERROR "The Go executable at '${GO_EXECUTABLE}' should exist")
endif()

if(NOT IS_EXECUTABLE ${GO_EXECUTABLE})
message(FATAL_ERROR "The Go executable at '${GO_EXECUTABLE}' should be executable")
endif()

execute_process(
COMMAND ${GO_EXECUTABLE} version
RESULT_VARIABLE RES
Expand Down

0 comments on commit a32ad2c

Please # to comment.