You can now start to unit test. Here’s how:
Run the examples to test the setup:
cd /usr/share/typemock/Examples/Isolator++.Examples.GCC/
make
cd ../LinuxBuild/Release64/
export LD_BIND_NOW=1
./IsolatorExamplesGCC_UsingStaticLib
** NOTE: You can run ‘make SO=1’ to build with the dynamic lib. The output will be aptly named “IsolatorExamplesGCC_UsingDynamicLib”.
** NOTE: If you see a linking error starting with “relocation R_X86_64_32S against symbol..”, run the make command with LD_FLAGS=-no-pie
i.e. make LD_FLAGS=-no-pie
Learn more:
/usr/share/typemock/readme.txt
See the examples at /usr/share/typemock/Examples/Common/GoogleTest
For more informtion, visit our Documentation here.