Testing - openucx/ucx GitHub Wiki
UCX uses Google Test Framework (https://github.com/google/googletest).
This framework is intergated into project and does not require gtest preinstallation.
Prerequesities
- C++ compiler should be 4.8.5 or above (to support c++11).
- Use
./configure ... --enable-gtestto enable building gtest framework.
Running tests
| Command | Meaning |
|---|---|
make -C test/gtest test |
Run all tests |
make -C test/gtest test GTEST_FILTER=*ucs* |
Run specific tests |
make -C test/gtest test_valgrind |
Run tests with valgrind |
make -C test/gtest test_gdb |
Run tests under gdb |