Skip to content

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

Notifications You must be signed in to change notification settings

parth21999/azure-c-testrunnerswitcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

testrunnerswitcher

testrunnerswitcher is a simple library to switch test runners between azure-ctest (available at https://github.com/Azure/azure-ctest.git) and CppUnitTest.

Setup

  • Clone azure-c-testrunnerswitcher by:
git clone --recursive https://github.com/Azure/azure-c-testrunnerswitcher.git
  • Create a cmake folder under azure-c-testrunnerswitcher
  • Switch to the cmake folder and run cmake ..
  • Build the code for your platform (msbuild for Windows, make for Linux, etc.)

Installation and Use

Optionally, you may choose to install testrunnerswitcher on your machine:

  1. Switch to the cmake folder and run

    cmake --build . --target install
    

    or

    Linux:

    sudo make install
    

    Windows:

    msbuild /m INSTALL.vcxproj
    
  2. Use it in your project (if installed)

    find_package(testrunnerswitcher REQUIRED CONFIG)
    target_link_library(yourlib testrunnerswitcher)
    

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 40.7%
  • Batchfile 28.8%
  • CMake 13.2%
  • Shell 9.5%
  • C 7.8%