C test runner switcher repo to be broken off from azure-c-shared-utility so it can be reused in several of our IoT repos
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
testrunnerswitcher is a simple library to switch test runners between ctest (available at https://github.com/Azure/ctest.git) and CppUnitTest.
git clone --recursive https://github.com/Azure/c-testrunnerswitcher.git
Optionally, you may choose to install testrunnerswitcher on your machine:
Switch to the cmake folder and run
cmake --build . --target install
or
Linux:
sudo make install
Windows:
msbuild /m INSTALL.vcxproj
Use it in your project (if installed)
find_package(testrunnerswitcher REQUIRED CONFIG)
target_link_library(yourlib testrunnerswitcher)