Configure Test Code for Isolator++
|Top Previous Next|
Test Project Setup:
In your test code:
In the test code add before any standard header inclusion:
In your Makefile:
Isolator++ requires these compilation flags:
There are 2 options to link with Typemock library:
Note: When linking with the static library, libisolator.so must be in LD_LIBRARY_PATH or use -rpath=/usr/lib64/typemock
Note: Link order might cause different results. Link Isolator++ as first as possible.
Run The Tests
Once everything is set, in order to run the tests, Isolator++ requires setting environment variable LD_BIND_NOW to 1.
Copyright © Typemock Ltd. 2009-2019. All Rights Reserved.