******************************************************************************** conan test conan-center-index\recipes\cppunit\all\test_package\conanfile.py cppunit/1.15.1@ --profile=C:\J\w\BuildSingleReference@5/29872/d6daa628-f58c-4fe5-b1be-1cba425ad3f4/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MT compiler.version=16 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:995e0f0b86a651012a3bfca00d60f35ae037db5e - 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 cmake created conanbuildinfo.cmake cppunit/1.15.1 (test package): Generator txt created conanbuildinfo.txt cppunit/1.15.1 (test package): Generated conaninfo.txt cppunit/1.15.1 (test package): Generated graphinfo Using lockfile: 'C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb/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@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb && cmake -G "Visual Studio 16 2019" -A "x64" -DCONAN_LINK_RUNTIME="/MT" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DCMAKE_INSTALL_PREFIX="C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\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@5\conan-center-index\recipes\cppunit\all\test_package ----------------- -- The C compiler identification is MSVC 19.28.29333.0 -- The CXX compiler identification is MSVC 19.28.29333.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/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/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/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@5/conan-center-index/recipes/cppunit/all/test_package/build/aec6a08189d47b5e62f2599011835b0e11470dcb ----Running------ > cmake --build C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb --config Release -- /m:16 /verbosity:minimal ----------------- Microsoft (R) Build Engine version 16.8.1+bd2ea1e3c for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J/w/BuildSingleReference@5/conan-center-index/recipes/cppunit/all/test_package/CMakeLists.txt test_package.cpp C:\J\w\BuildSingleReference@5\.conan\data\cppunit\1.15.1\_\_\package\995e0f0b86a651012a3bfca00d60f35ae037db5e\include\cppunit/CompilerOutputter.h(138,31): 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@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\test_package.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\xstring(4648): message : see declaration of 'std::basic_string,std::allocator>' [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\test_package.vcxproj] C:\J\w\BuildSingleReference@5\.conan\data\cppunit\1.15.1\_\_\package\995e0f0b86a651012a3bfca00d60f35ae037db5e\include\cppunit/SourceLine.h(56,25): 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@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\test_package.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\xstring(4648): message : see declaration of 'std::basic_string,std::allocator>' [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\test_package.vcxproj] C:\J\w\BuildSingleReference@5\.conan\data\cppunit\1.15.1\_\_\package\995e0f0b86a651012a3bfca00d60f35ae037db5e\include\cppunit/Exception.h(20,1): warning C4275: non dll-interface class 'std::exception' used as base for dll-interface class 'CppUnit::Exception' [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\test_package.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\vcruntime_exception.h(48): message : see declaration of 'std::exception' [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\test_package.vcxproj] C:\J\w\BuildSingleReference@5\.conan\data\cppunit\1.15.1\_\_\package\995e0f0b86a651012a3bfca00d60f35ae037db5e\include\cppunit/Exception.h(19): message : see declaration of 'CppUnit::Exception' [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\test_package.vcxproj] C:\J\w\BuildSingleReference@5\.conan\data\cppunit\1.15.1\_\_\package\995e0f0b86a651012a3bfca00d60f35ae037db5e\include\cppunit/Exception.h(82,28): 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@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\test_package.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\xstring(4648): message : see declaration of 'std::basic_string,std::allocator>' [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\test_package.vcxproj] C:\J\w\BuildSingleReference@5\.conan\data\cppunit\1.15.1\_\_\package\995e0f0b86a651012a3bfca00d60f35ae037db5e\include\cppunit/TestCase.h(50,29): 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@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\test_package.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\xstring(4648): message : see declaration of 'std::basic_string,std::allocator>' [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\test_package.vcxproj] C:\J\w\BuildSingleReference@5\.conan\data\cppunit\1.15.1\_\_\package\995e0f0b86a651012a3bfca00d60f35ae037db5e\include\cppunit/extensions/TestNamer.h(74,28): 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@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\test_package.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\xstring(4648): message : see declaration of 'std::basic_string,std::allocator>' [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\test_package.vcxproj] test_package.vcxproj -> C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cppunit\all\test_package\build\aec6a08189d47b5e62f2599011835b0e11470dcb\bin\test_package.exe Building Custom Rule C:/J/w/BuildSingleReference@5/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@5\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@5\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@5\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@5\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