Quantcast
Viewing latest article 13
Browse Latest Browse All 1616

Intel Compiler doesn't seem to support compiling Visual Studio 2013/2015 built in native unit tests

Does the Intel compiler support compiling native unit test projects using Microsoft's built in unit testing framework? I can't find it listed as an issue under the Microsoft compatibility documentation.

I've tried the following steps in both Visual Studio 2013 and 2015 and with Intel C++ Compiler 16 and 15. Building with older versions of the Microsoft Compiler seems to work fine.

  • Create a new unit test project - New Project/Test/Native Unit Test
  • Rebuild All
  • View Test Explorer Window  - the single sample test is listed
  • Change the properties of the project to build with Intel Compiler 15 or 16 (Intel compiler 15 only builds with Visual Studio 2013)
  • Rebuild All
  • View Test Explorer Window  - no tests are listed.

If I run dumpbin on the DLLs they export the same list of exported functions with the same names in the same order.

I'm not sure how to diagnose this problem further. I can't find any documentation on how the Microsoft Unit Test frame work discovers the tests. The apparent entry points for finding test information don't get called when built with the Intel compiler.


Viewing latest article 13
Browse Latest Browse All 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>