Commit 9668ae64 authored by Manuel Wudka-Robles's avatar Manuel Wudka-Robles
Browse files

Rename test target to check, thus avoiding warnings in CMake3

parent 0d00773a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ add_dependencies(${INTEGRATION_TEST_BINARY} ${TEST_LIBRARIES})
target_link_libraries(${INTEGRATION_TEST_BINARY} ${LIBRARY_DEPENDENCIES})

# Rule for running unit tests
add_custom_target(test
add_custom_target(check
    COMMAND ${TEST_BINARY_PATH} --gtest_output=xml:gtestresults.xml
    DEPENDS ${TEST_BINARY_PATH}
)
+2 −2
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ Common Developer Tasks

**Building the lib**: `make`. It will be in `libkinetic_client.a`

**Running tests**: To run the unit test suite, run `make test`. Tests results
**Running tests**: To run the unit test suite, run `make check`. Tests results
will appear on stdout and a JUnit report be written to `gtestresults.xml`

There is also an integration test suite. This suite reads the environment