******************************************************************************** conan test conan-center-index\recipes\cppunit\all\test_package\conanfile.py cppunit/1.15.1@ --profile=C:\J\w\BuildSingleReference@6/29872/769104f9-d495-4bbb-84cc-39e0b9aa9843/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MT compiler.version=15 os=Windows os_build=Windows [options] cppunit:shared=True [build_requires] [env] cppunit/1.15.1 (test package): Installing package Requirements cppunit/1.15.1 from local cache - Cache Packages cppunit/1.15.1:f42ebec2d0ee7d5c41713cd8eee15cf988b0d202 - Cache Installing (downloading, building) binaries... cppunit/1.15.1: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK cppunit/1.15.1 (test package): Generator txt created conanbuildinfo.txt cppunit/1.15.1 (test package): Generator cmake created conanbuildinfo.cmake cppunit/1.15.1 (test package): Generated conaninfo.txt cppunit/1.15.1 (test package): Generated graphinfo Using lockfile: 'C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\build\5d3254b4e050974aa582ae5596836416f91946cc/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK cppunit/1.15.1 (test package): Calling build() ----Running------ > cd C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\build\5d3254b4e050974aa582ae5596836416f91946cc && cmake -G "Visual Studio 15 2017 Win64" -DCONAN_LINK_RUNTIME="/MT" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="15" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DCMAKE_INSTALL_PREFIX="C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\build\5d3254b4e050974aa582ae5596836416f91946cc\package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package ----------------- -- The C compiler identification is MSVC 19.16.27035.0 -- The CXX compiler identification is MSVC 19.16.27035.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/BuildSingleReference@6/conan-center-index/recipes/cppunit/all/test_package/build/5d3254b4e050974aa582ae5596836416f91946cc ----Running------ > cmake --build C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\build\5d3254b4e050974aa582ae5596836416f91946cc --config Release -- /m:16 /verbosity:minimal ----------------- Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J/w/BuildSingleReference@6/conan-center-index/recipes/cppunit/all/test_package/CMakeLists.txt test_package.cpp C:\J\w\BuildSingleReference@6\.conan\data\cppunit\1.15.1\_\_\package\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\include\cppunit/CompilerOutputter.h(138): warning C4251: 'CppUnit::CompilerOutputter::m_locationFormat': class 'std::basic_string,std::allocator>' needs to have dll-interface to be used by clients of class 'CppUnit::CompilerOutputter' [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\build\5d3254b4e050974aa582ae5596836416f91946cc\test_package.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string,std::allocator>' C:\J\w\BuildSingleReference@6\.conan\data\cppunit\1.15.1\_\_\package\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\include\cppunit/SourceLine.h(56): warning C4251: 'CppUnit::SourceLine::m_fileName': class 'std::basic_string,std::allocator>' needs to have dll-interface to be used by clients of class 'CppUnit::SourceLine' [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\build\5d3254b4e050974aa582ae5596836416f91946cc\test_package.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string,std::allocator>' C:\J\w\BuildSingleReference@6\.conan\data\cppunit\1.15.1\_\_\package\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\include\cppunit/Exception.h(20): warning C4275: non dll-interface class 'std::exception' used as base for dll-interface class 'CppUnit::Exception' [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\build\5d3254b4e050974aa582ae5596836416f91946cc\test_package.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vcruntime_exception.h(44): note: see declaration of 'std::exception' C:\J\w\BuildSingleReference@6\.conan\data\cppunit\1.15.1\_\_\package\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\include\cppunit/Exception.h(19): note: see declaration of 'CppUnit::Exception' C:\J\w\BuildSingleReference@6\.conan\data\cppunit\1.15.1\_\_\package\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\include\cppunit/Exception.h(82): warning C4251: 'CppUnit::Exception::m_whatMessage': class 'std::basic_string,std::allocator>' needs to have dll-interface to be used by clients of class 'CppUnit::Exception' [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\build\5d3254b4e050974aa582ae5596836416f91946cc\test_package.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string,std::allocator>' C:\J\w\BuildSingleReference@6\.conan\data\cppunit\1.15.1\_\_\package\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\include\cppunit/TestCase.h(50): warning C4251: 'CppUnit::TestCase::m_name': class 'std::basic_string,std::allocator>' needs to have dll-interface to be used by clients of class 'CppUnit::TestCase' [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\build\5d3254b4e050974aa582ae5596836416f91946cc\test_package.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string,std::allocator>' C:\J\w\BuildSingleReference@6\.conan\data\cppunit\1.15.1\_\_\package\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\include\cppunit/extensions/TestNamer.h(74): warning C4251: 'CppUnit::TestNamer::m_fixtureName': class 'std::basic_string,std::allocator>' needs to have dll-interface to be used by clients of class 'CppUnit::TestNamer' [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\build\5d3254b4e050974aa582ae5596836416f91946cc\test_package.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string,std::allocator>' test_package.vcxproj -> C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\build\5d3254b4e050974aa582ae5596836416f91946cc\bin\test_package.exe Building Custom Rule C:/J/w/BuildSingleReference@6/conan-center-index/recipes/cppunit/all/test_package/CMakeLists.txt cppunit/1.15.1 (test package): Running test() ----Running------ > bin\test_package ----------------- testEquals::TestBody : OK ExampleTestCase::example : assertion ExampleTestCase::anotherExample : assertion ExampleTestCase::testAdd : assertion ExampleTestCase::testEquals : assertion testAdd::TestBody : OK C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\test_package.cpp(80) : error : Assertion Test name: ExampleTestCase::example double equality assertion failed - Expected: 1 - Actual : 1.1 - Delta : 0.05 C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\test_package.cpp(88) : error : Assertion Test name: ExampleTestCase::anotherExample assertion failed - Expression: 1 == 2 C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\test_package.cpp(100) : error : Assertion Test name: ExampleTestCase::testAdd assertion failed - Expression: result == 6.0 C:\J\w\BuildSingleReference@6\conan-center-index\recipes\cppunit\all\test_package\test_package.cpp(117) : error : Assertion Test name: ExampleTestCase::testEquals equality assertion failed - Expected: 12 - Actual : 13 Failures !!! Run: 6 Failure total: 4 Failures: 4 Errors: 0 was succesful? 0 CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR