Skip to content

Commit

Permalink
disable test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoenig authored and scpeters committed Jul 19, 2022
1 parent 0aec552 commit 2615971
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@ include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/test
)

set (test_sources
ign_TEST.cc
)

# Skip command line tests for Windows, see
# https://bitbucket.org/ignitionrobotics/ign-msgs/issues/28
if (MSVC)
list(REMOVE_ITEM gtest_sources ign_TEST.cc)
endif()

if (IGNITION-TOOLS_BINARY_DIRS)
ign_build_tests(TYPE UNIT SOURCES ${test_sources})
endif ()
1 change: 0 additions & 1 deletion tools/ign_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ int main(int argc, char **argv)

// Make sure that we load the library recently built and not the one installed
// in your system.
#ifndef _WIN32
// Add the directory where ignition msgs has been built.
std::string value = std::string(IGN_TEST_LIBRARY_PATH);
// Save the current value of LD_LIBRARY_PATH.
Expand Down

0 comments on commit 2615971

Please sign in to comment.