CppUTest——【由JUnit移植过来的】C++单元测试框架——的下载安装

news2024/12/26 14:45:02

C++单元测试框架CppUTest的下载与安装

  • 简介
    • 下载地址
      • 单元测试框架下载
      • 单元测试被测工程下载
    • 安装
      • 安装Cygwin
        • 下载地址
        • 安装步骤
          • 手动安装CMake
      • 编译单元测试框架CppUTest
    • 导入到Virtual Studio
      • 准备条件
      • 根据VS版本选择导入对应的.sln文件

简介

CppUnit是【由JUnit移植过来的】C++测试框架。

下载地址

单元测试框架下载

从我使用的CppUtest框架中的文档/readme/ReadmePart1_VisualStudio.rtf文件中看到了官网的地址cpputest.org,文中原话是• Go to cpputest.org, and get the latest released cpputest. (3.7.1 was used at the time of this writing)

在打开的网页中,根据自己使用的编译工具及操作系统选择对应的CppUTest框架,如下图红框所示。
在这里插入图片描述

单元测试被测工程下载

也可以从上面官方连接中下载练手的被测项目的代码示例,比如Using CppUTest with Visual Studio,找到后点击对应连接下载即可如下图红框所示。
在这里插入图片描述

或者在此网页一开头也给出了不同场景下的CppUnit框架的下载地址,如下图所示。
在这里插入图片描述
弹出框架代码的界面,如下图所示。
在这里插入图片描述

安装

安装Cygwin

Cygwin是许多自由软件的集合,最初由Cygnus Solutions开发,用于各种版本的Microsoft Windows上,运行UNIX类系统。Cygwin的主要目的是通过重新编译,将POSIX系统(例如Linux、BSD,以及其他Unix系统)上的软件移植到Windows上。Cygwin移植工作在Windows NT、Windows 2000、Windows XP以及Windows Server 2003上比较好,在Windows 95和Windows 98上,相对差劲一些。目前Cygwin由Red Hat等负责维护。

下载地址

官网下载地址?,选择符合自己操作系统的安装包,如下图所示。
在这里插入图片描述

安装步骤

详见此博客。
1.双击下载好的安装包
在这里插入图片描述
2、选择安装方式
在这里插入图片描述
3、选择安装路径
在这里插入图片描述
4、在下载的同时,Cygwin组件也保存到了本地,以便以后能够再次安装,这一步选择安装过程中从网上下载的Cygwin组件包的保存位置
在这里插入图片描述
5、选择连接的方式
在这里插入图片描述

  • ①Use System Proxy Settings 使用系统的代理设置。
  • ②Direct Connection 一般多数用户都是这种直接连接的网络,所以都是直接使用默认设置即可。
  • ③Use HTTP/FTP Proxy 使用HTTP或FTP类型的代理。如果有需要,自己选择此项后,设置对应的代理地址和端口,即可。

6、添加、选择下载地址

  • 阿里云镜像http://mirrors.aliyun.com/cygwin/
  • 网易开源镜像http://mirrors.163.com/cygwin/
    在下图红框中输入要使用的下载地址,点击右侧“添加”按钮,即可在上方“可用的下载站点”中添加,然后选择该站点,点击“下一步”按钮。
    在这里插入图片描述
    在这里插入图片描述

7、在短暂的下载、加载界面后,来到如下界面。点击图中红框中的加号按钮。此处,对于安装Cygwin来说,就是安装各种各样的模块而已。最核心的,记住一定要安装Devel这个部分的模块,其中包含了各种开发所用到的工具或模块。展开ALL—>Devel—>【建议Devel全选,而非仅从中选择binutilsgcc-coregcc-g++gdbmakemingwin64-i686-gcc-coremingwin64-i686-gcc-g++】进行安装,因为在安装完成后使用cmake --version指令,提示“‘cmake’不是内部或外部命令,也不是可运行的程序或批处理文件”,目前怀疑是Cygwin选择组件时未选择全导致的。

找到以下选项,点击后边的skip,使其变为版本号即可。(注:最好不要勾选测试,也不要选择最新版本,容易与编辑软件版本冲突)
在这里插入图片描述
点击后边的skip,使其变为版本号即可。(注:最好不要勾选测试,也不要选择最新版本,容易与编辑软件版本冲突)
在这里插入图片描述
等待下载安装,如下图所示。
在这里插入图片描述
8、安装完成后,需要将Cygwin的bin目录添加到系统环境path中。但是在博客中提到的“测试是否环境变量添加成功——在命令行中输入:cmake --version”后,却提示的“‘cmake’不是内部或外部命令,也不是可运行的程序或批处理文件”,目前怀疑是Cygwin选择组件时未选择全导致的。如果按照前面第7步中全选了Devel,来到此处依然提示“‘cmake’不是内部或外部命令,则需要手动安装CMake

手动安装CMake

点击官网地址?,来到下图所示界面。
在这里插入图片描述
下滑页面来到Older Releases,如下图所示。选择kitware的网址,点击。因为其他网址被拦截了打不开= =
在这里插入图片描述
点击LatestRelease
在这里插入图片描述
在下图所示的界面中,找到符合自己操作系统的安装包,比如下图红框所示。.msi是Windows安装包。
在这里插入图片描述
下载后双击安装即可,在安装的一个步骤中,自认此处可以选择第二项,for all users
在这里插入图片描述

9、安装完成后验证Cygwin是否安装成功、验证组件是否安装完全

  • 验证Cygwin是否安装成功
    在Windows系统的命令行中输入cygcheck -c cygwin,如下图所示。
    在这里插入图片描述
  • 验证组件是否安装完全
    – 双击cygwin图标,运行cygwin
    – 在运行cygwin后弹出的命令行内依次输入如下命令,查看各组件是否安装完全,如下图所示。
cygcheck -c cygwin

gcc --version

g++ --version

gdb --version

make --version

在这里插入图片描述
注: 如果有组件忘记下载,可以再次点击cygwin setup-x86_64.exe安装包更新组件,不用卸载重装

编译单元测试框架CppUTest

Windows命令行,切换到单元测试框架CppUTest根目录下,输入命令./configure先完成源码安装的前置步骤——生成makefile。执行configure文件,此文件有两个功能:①让用户选定编译特性②检查编译环境。只有此步完成,后面步骤在执行make时才能正常运行。

在上一步完成后,切换到 单元测试框架CppUTest根目录下的cpputest_build目录,输入命令cmake ..使用 cmake 生成 Makefile,如下两图所示(一张图没截全;另外因为本步暂未试通,所以划入备注部分= =)。
在这里插入图片描述
在这里插入图片描述

在完成使用cmake生成Makefile的步骤后,(自己第一次尝试时,未能执行cmkae,所以第二次尝试时,在./configure后——未执行cmake——直接来到本步)输入make命令进行编译,运行信息如下图所示:

Administrator@poac21-PC /tmp/cpputest-3.8
$ make
make  all-am
make[1]: Entering directory '/tmp/cpputest-3.8'
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-CommandLineArguments.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-CommandLineArguments.Tpo -c -o src/CppUTest/lib_libCppUTest_a-CommandLineArguments.o `test -f 'src/CppUTest/CommandLineArguments.cpp' || echo './'`src/CppUTest/CommandLineArguments.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-CommandLineArguments.Tpo src/CppUTest/.deps/lib_libCppUTest_a-CommandLineArguments.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-CommandLineTestRunner.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-CommandLineTestRunner.Tpo -c -o src/CppUTest/lib_libCppUTest_a-CommandLineTestRunner.o `test -f 'src/CppUTest/CommandLineTestRunner.cpp' || echo './'`src/CppUTest/CommandLineTestRunner.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-CommandLineTestRunner.Tpo src/CppUTest/.deps/lib_libCppUTest_a-CommandLineTestRunner.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-JUnitTestOutput.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-JUnitTestOutput.Tpo -c -o src/CppUTest/lib_libCppUTest_a-JUnitTestOutput.o `test -f 'src/CppUTest/JUnitTestOutput.cpp' || echo './'`src/CppUTest/JUnitTestOutput.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-JUnitTestOutput.Tpo src/CppUTest/.deps/lib_libCppUTest_a-JUnitTestOutput.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-MemoryLeakDetector.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-MemoryLeakDetector.Tpo -c -o src/CppUTest/lib_libCppUTest_a-MemoryLeakDetector.o `test -f 'src/CppUTest/MemoryLeakDetector.cpp' || echo './'`src/CppUTest/MemoryLeakDetector.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-MemoryLeakDetector.Tpo src/CppUTest/.deps/lib_libCppUTest_a-MemoryLeakDetector.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-MemoryLeakWarningPlugin.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-MemoryLeakWarningPlugin.Tpo -c -o src/CppUTest/lib_libCppUTest_a-MemoryLeakWarningPlugin.o `test -f 'src/CppUTest/MemoryLeakWarningPlugin.cpp' || echo './'`src/CppUTest/MemoryLeakWarningPlugin.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-MemoryLeakWarningPlugin.Tpo src/CppUTest/.deps/lib_libCppUTest_a-MemoryLeakWarningPlugin.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-SimpleString.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-SimpleString.Tpo -c -o src/CppUTest/lib_libCppUTest_a-SimpleString.o `test -f 'src/CppUTest/SimpleString.cpp' || echo './'`src/CppUTest/SimpleString.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-SimpleString.Tpo src/CppUTest/.deps/lib_libCppUTest_a-SimpleString.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-SimpleMutex.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-SimpleMutex.Tpo -c -o src/CppUTest/lib_libCppUTest_a-SimpleMutex.o `test -f 'src/CppUTest/SimpleMutex.cpp' || echo './'`src/CppUTest/SimpleMutex.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-SimpleMutex.Tpo src/CppUTest/.deps/lib_libCppUTest_a-SimpleMutex.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-TeamCityTestOutput.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-TeamCityTestOutput.Tpo -c -o src/CppUTest/lib_libCppUTest_a-TeamCityTestOutput.o `test -f 'src/CppUTest/TeamCityTestOutput.cpp' || echo './'`src/CppUTest/TeamCityTestOutput.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-TeamCityTestOutput.Tpo src/CppUTest/.deps/lib_libCppUTest_a-TeamCityTestOutput.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-TestFailure.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-TestFailure.Tpo -c -o src/CppUTest/lib_libCppUTest_a-TestFailure.o `test -f 'src/CppUTest/TestFailure.cpp' || echo './'`src/CppUTest/TestFailure.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-TestFailure.Tpo src/CppUTest/.deps/lib_libCppUTest_a-TestFailure.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-TestFilter.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-TestFilter.Tpo -c -o src/CppUTest/lib_libCppUTest_a-TestFilter.o `test -f 'src/CppUTest/TestFilter.cpp' || echo './'`src/CppUTest/TestFilter.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-TestFilter.Tpo src/CppUTest/.deps/lib_libCppUTest_a-TestFilter.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-TestHarness_c.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-TestHarness_c.Tpo -c -o src/CppUTest/lib_libCppUTest_a-TestHarness_c.o `test -f 'src/CppUTest/TestHarness_c.cpp' || echo './'`src/CppUTest/TestHarness_c.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-TestHarness_c.Tpo src/CppUTest/.deps/lib_libCppUTest_a-TestHarness_c.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-TestMemoryAllocator.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-TestMemoryAllocator.Tpo -c -o src/CppUTest/lib_libCppUTest_a-TestMemoryAllocator.o `test -f 'src/CppUTest/TestMemoryAllocator.cpp' || echo './'`src/CppUTest/TestMemoryAllocator.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-TestMemoryAllocator.Tpo src/CppUTest/.deps/lib_libCppUTest_a-TestMemoryAllocator.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-TestOutput.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-TestOutput.Tpo -c -o src/CppUTest/lib_libCppUTest_a-TestOutput.o `test -f 'src/CppUTest/TestOutput.cpp' || echo './'`src/CppUTest/TestOutput.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-TestOutput.Tpo src/CppUTest/.deps/lib_libCppUTest_a-TestOutput.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-TestPlugin.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-TestPlugin.Tpo -c -o src/CppUTest/lib_libCppUTest_a-TestPlugin.o `test -f 'src/CppUTest/TestPlugin.cpp' || echo './'`src/CppUTest/TestPlugin.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-TestPlugin.Tpo src/CppUTest/.deps/lib_libCppUTest_a-TestPlugin.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-TestRegistry.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-TestRegistry.Tpo -c -o src/CppUTest/lib_libCppUTest_a-TestRegistry.o `test -f 'src/CppUTest/TestRegistry.cpp' || echo './'`src/CppUTest/TestRegistry.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-TestRegistry.Tpo src/CppUTest/.deps/lib_libCppUTest_a-TestRegistry.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-TestResult.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-TestResult.Tpo -c -o src/CppUTest/lib_libCppUTest_a-TestResult.o `test -f 'src/CppUTest/TestResult.cpp' || echo './'`src/CppUTest/TestResult.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-TestResult.Tpo src/CppUTest/.deps/lib_libCppUTest_a-TestResult.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-TestTestingFixture.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-TestTestingFixture.Tpo -c -o src/CppUTest/lib_libCppUTest_a-TestTestingFixture.o `test -f 'src/CppUTest/TestTestingFixture.cpp' || echo './'`src/CppUTest/TestTestingFixture.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-TestTestingFixture.Tpo src/CppUTest/.deps/lib_libCppUTest_a-TestTestingFixture.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTest/lib_libCppUTest_a-Utest.o -MD -MP -MF src/CppUTest/.deps/lib_libCppUTest_a-Utest.Tpo -c -o src/CppUTest/lib_libCppUTest_a-Utest.o `test -f 'src/CppUTest/Utest.cpp' || echo './'`src/CppUTest/Utest.cpp
mv -f src/CppUTest/.deps/lib_libCppUTest_a-Utest.Tpo src/CppUTest/.deps/lib_libCppUTest_a-Utest.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/Platforms/Gcc/lib_libCppUTest_a-UtestPlatform.o -MD -MP -MF src/Platforms/Gcc/.deps/lib_libCppUTest_a-UtestPlatform.Tpo -c -o src/Platforms/Gcc/lib_libCppUTest_a-UtestPlatform.o `test -f 'src/Platforms/Gcc/UtestPlatform.cpp' || echo './'`src/Platforms/Gcc/UtestPlatform.cpp
mv -f src/Platforms/Gcc/.deps/lib_libCppUTest_a-UtestPlatform.Tpo src/Platforms/Gcc/.deps/lib_libCppUTest_a-UtestPlatform.Po
rm -f lib/libCppUTest.a
ar cru lib/libCppUTest.a src/CppUTest/lib_libCppUTest_a-CommandLineArguments.o src/CppUTest/lib_libCppUTest_a-CommandLineTestRunner.o src/CppUTest/lib_libCppUTest_a-JUnitTestOutput.o src/CppUTest/lib_libCppUTest_a-MemoryLeakDetector.o src/CppUTest/lib_libCppUTest_a-MemoryLeakWarningPlugin.o src/CppUTest/lib_libCppUTest_a-SimpleString.o src/CppUTest/lib_libCppUTest_a-SimpleMutex.o src/CppUTest/lib_libCppUTest_a-TeamCityTestOutput.o src/CppUTest/lib_libCppUTest_a-TestFailure.o src/CppUTest/lib_libCppUTest_a-TestFilter.o src/CppUTest/lib_libCppUTest_a-TestHarness_c.o src/CppUTest/lib_libCppUTest_a-TestMemoryAllocator.o src/CppUTest/lib_libCppUTest_a-TestOutput.o src/CppUTest/lib_libCppUTest_a-TestPlugin.o src/CppUTest/lib_libCppUTest_a-TestRegistry.o src/CppUTest/lib_libCppUTest_a-TestResult.o src/CppUTest/lib_libCppUTest_a-TestTestingFixture.o src/CppUTest/lib_libCppUTest_a-Utest.o src/Platforms/Gcc/lib_libCppUTest_a-UtestPlatform.o
ranlib lib/libCppUTest.a
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-CodeMemoryReportFormatter.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-CodeMemoryReportFormatter.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-CodeMemoryReportFormatter.o `test -f 'src/CppUTestExt/CodeMemoryReportFormatter.cpp' || echo './'`src/CppUTestExt/CodeMemoryReportFormatter.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-CodeMemoryReportFormatter.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-CodeMemoryReportFormatter.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-IEEE754ExceptionsPlugin.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-IEEE754ExceptionsPlugin.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-IEEE754ExceptionsPlugin.o `test -f 'src/CppUTestExt/IEEE754ExceptionsPlugin.cpp' || echo './'`src/CppUTestExt/IEEE754ExceptionsPlugin.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-IEEE754ExceptionsPlugin.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-IEEE754ExceptionsPlugin.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-MemoryReportAllocator.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-MemoryReportAllocator.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-MemoryReportAllocator.o `test -f 'src/CppUTestExt/MemoryReportAllocator.cpp' || echo './'`src/CppUTestExt/MemoryReportAllocator.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-MemoryReportAllocator.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-MemoryReportAllocator.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-MemoryReporterPlugin.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-MemoryReporterPlugin.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-MemoryReporterPlugin.o `test -f 'src/CppUTestExt/MemoryReporterPlugin.cpp' || echo './'`src/CppUTestExt/MemoryReporterPlugin.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-MemoryReporterPlugin.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-MemoryReporterPlugin.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-MemoryReportFormatter.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-MemoryReportFormatter.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-MemoryReportFormatter.o `test -f 'src/CppUTestExt/MemoryReportFormatter.cpp' || echo './'`src/CppUTestExt/MemoryReportFormatter.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-MemoryReportFormatter.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-MemoryReportFormatter.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-MockActualCall.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockActualCall.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-MockActualCall.o `test -f 'src/CppUTestExt/MockActualCall.cpp' || echo './'`src/CppUTestExt/MockActualCall.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockActualCall.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockActualCall.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-MockExpectedCall.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockExpectedCall.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-MockExpectedCall.o `test -f 'src/CppUTestExt/MockExpectedCall.cpp' || echo './'`src/CppUTestExt/MockExpectedCall.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockExpectedCall.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockExpectedCall.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-MockExpectedCallsList.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockExpectedCallsList.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-MockExpectedCallsList.o `test -f 'src/CppUTestExt/MockExpectedCallsList.cpp' || echo './'`src/CppUTestExt/MockExpectedCallsList.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockExpectedCallsList.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockExpectedCallsList.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-MockFailure.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockFailure.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-MockFailure.o `test -f 'src/CppUTestExt/MockFailure.cpp' || echo './'`src/CppUTestExt/MockFailure.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockFailure.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockFailure.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-MockNamedValue.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockNamedValue.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-MockNamedValue.o `test -f 'src/CppUTestExt/MockNamedValue.cpp' || echo './'`src/CppUTestExt/MockNamedValue.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockNamedValue.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockNamedValue.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-MockSupport.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockSupport.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-MockSupport.o `test -f 'src/CppUTestExt/MockSupport.cpp' || echo './'`src/CppUTestExt/MockSupport.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockSupport.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockSupport.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-MockSupportPlugin.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockSupportPlugin.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-MockSupportPlugin.o `test -f 'src/CppUTestExt/MockSupportPlugin.cpp' || echo './'`src/CppUTestExt/MockSupportPlugin.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockSupportPlugin.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockSupportPlugin.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-MockSupport_c.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockSupport_c.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-MockSupport_c.o `test -f 'src/CppUTestExt/MockSupport_c.cpp' || echo './'`src/CppUTestExt/MockSupport_c.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockSupport_c.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-MockSupport_c.Po
g++ -DHAVE_CONFIG_H -I.   -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include     -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h  -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast   -g -O2 -MT src/CppUTestExt/lib_libCppUTestExt_a-OrderedTest.o -MD -MP -MF src/CppUTestExt/.deps/lib_libCppUTestExt_a-OrderedTest.Tpo -c -o src/CppUTestExt/lib_libCppUTestExt_a-OrderedTest.o `test -f 'src/CppUTestExt/OrderedTest.cpp' || echo './'`src/CppUTestExt/OrderedTest.cpp
mv -f src/CppUTestExt/.deps/lib_libCppUTestExt_a-OrderedTest.Tpo src/CppUTestExt/.deps/lib_libCppUTestExt_a-OrderedTest.Po
rm -f lib/libCppUTestExt.a
ar cru lib/libCppUTestExt.a src/CppUTestExt/lib_libCppUTestExt_a-CodeMemoryReportFormatter.o src/CppUTestExt/lib_libCppUTestExt_a-IEEE754ExceptionsPlugin.o src/CppUTestExt/lib_libCppUTestExt_a-MemoryReportAllocator.o src/CppUTestExt/lib_libCppUTestExt_a-MemoryReporterPlugin.o src/CppUTestExt/lib_libCppUTestExt_a-MemoryReportFormatter.o src/CppUTestExt/lib_libCppUTestExt_a-MockActualCall.o src/CppUTestExt/lib_libCppUTestExt_a-MockExpectedCall.o src/CppUTestExt/lib_libCppUTestExt_a-MockExpectedCallsList.o src/CppUTestExt/lib_libCppUTestExt_a-MockFailure.o src/CppUTestExt/lib_libCppUTestExt_a-MockNamedValue.o src/CppUTestExt/lib_libCppUTestExt_a-MockSupport.o src/CppUTestExt/lib_libCppUTestExt_a-MockSupportPlugin.o src/CppUTestExt/lib_libCppUTestExt_a-MockSupport_c.o src/CppUTestExt/lib_libCppUTestExt_a-OrderedTest.o
ranlib lib/libCppUTestExt.a
make[1]: Leaving directory '/tmp/cpputest-3.8'

Administrator@poac21-PC /tmp/cpputest-3.8
$ 

编译完成后,查看cygwin/usr/local/lib目录下的内容,如下图所示。
在这里插入图片描述
然后使用make install命令进行安装,命令运行后的cygwin/usr/local/lib目录下的内容,如下图所示(自己尝试的过程中,没有下图中的CppUTest文件夹)。
在这里插入图片描述

$ make install
make[1]: Entering directory '/tmp/cpputest-3.8'
 /usr/bin/mkdir -p '/usr/local/lib'
 /usr/bin/install -c -m 644  lib/libCppUTest.a lib/libCppUTestExt.a '/usr/local/lib'
 ( cd '/usr/local/lib' && ranlib libCppUTest.a )
 ( cd '/usr/local/lib' && ranlib libCppUTestExt.a )
 /usr/bin/mkdir -p '/usr/local/include/CppUTest'
 /usr/bin/install -c -m 644 include/CppUTest/CommandLineArguments.h include/CppUTest/CommandLineTestRunner.h include/CppUTest/CppUTestConfig.h include/CppUTest/JUnitTestOutput.h include/CppUTest/MemoryLeakDetector.h include/CppUTest/MemoryLeakDetectorMallocMacros.h include/CppUTest/MemoryLeakDetectorNewMacros.h include/CppUTest/MemoryLeakWarningPlugin.h include/CppUTest/PlatformSpecificFunctions.h include/CppUTest/PlatformSpecificFunctions_c.h include/CppUTest/SimpleString.h include/CppUTest/SimpleMutex.h include/CppUTest/StandardCLibrary.h include/CppUTest/TeamCityTestOutput.h include/CppUTest/TestFailure.h include/CppUTest/TestFilter.h include/CppUTest/TestHarness.h include/CppUTest/TestHarness_c.h include/CppUTest/TestMemoryAllocator.h include/CppUTest/TestOutput.h include/CppUTest/TestPlugin.h include/CppUTest/TestRegistry.h include/CppUTest/TestResult.h include/CppUTest/TestTestingFixture.h include/CppUTest/Utest.h include/CppUTest/UtestMacros.h generated/CppUTestGeneratedConfig.h '/usr/local/include/CppUTest'
 /usr/bin/mkdir -p '/usr/local/include/CppUTestExt'
 /usr/bin/install -c -m 644 include/CppUTestExt/GMock.h include/CppUTestExt/GTest.h include/CppUTestExt/GTestConvertor.h include/CppUTestExt/IEEE754ExceptionsPlugin.h include/CppUTestExt/MemoryReportAllocator.h include/CppUTestExt/MemoryReporterPlugin.h include/CppUTestExt/MemoryReportFormatter.h include/CppUTestExt/MockActualCall.h include/CppUTestExt/MockCheckedActualCall.h include/CppUTestExt/MockCheckedExpectedCall.h include/CppUTestExt/MockExpectedCall.h include/CppUTestExt/MockExpectedCallsList.h include/CppUTestExt/MockFailure.h include/CppUTestExt/MockNamedValue.h include/CppUTestExt/MockSupport.h include/CppUTestExt/MockSupportPlugin.h include/CppUTestExt/MockSupport_c.h include/CppUTestExt/OrderedTest.h '/usr/local/include/CppUTestExt'
 /usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 cpputest.pc '/usr/local/lib/pkgconfig'
make[1]: Leaving directory '/tmp/cpputest-3.8'

Administrator@poac21-PC /tmp/cpputest-3.8
$ 

最后,将cygwin/usr/local/lib下生成的内容拷贝到cpputest安装的根目录下的lib目录下(按照此博客进行到了此步,但不知道用途是什么= =)。
在这里插入图片描述
最后配置环境变量CPPUTEST_HOME——CppUTest框架安装的根目录,如下图所示。
在这里插入图片描述

导入到Virtual Studio

准备条件

需要安装Virtual StudioC++桌面组件

根据VS版本选择导入对应的.sln文件

将下载的CppUnit框架使用示例的压缩包.zip解压即可。下载的示例根目录下的cpputest-starter-project-vs-master\vs-test-build路径,根据Virtual Studio的版本选择对应的.sln文件即可,如下图红框所示。
在这里插入图片描述

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/688719.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

每日一练 | 华为认证真题练习Day65

1、如果一个以太网数据帧的Length/Type0x8100,那么这个数据帧的载荷不可能是?(多选) A. ARP应答报文 B. OSPF报文 C. RSTP数据帧 D. STP数据帧 2、路由器某接口配置信息如下,则此端口可以接收携带哪个VLAN的数据包…

《C++ Primer》--学习8

vector 对象是如何增长的 当不得不获取新的内存空间时,vector 和 string 的实现通常会分配比新的空间需求更大的内存空间,容器预留这些空间作为备用,这样就不用每次添加新元素都重新分配容器的内存空间了 管理容器的成员函数 capacity 和 …

高速电路设计系列分享-带宽和动态范围

目录 概要 整体架构流程 技术名词解释 1.带宽 2.动态范围 小结 概要 提示:这里可以添加技术概要 本文继续熟悉一些基本概念。 在许多技术领域,我们习惯于把技术进步与更高的速率关联起来:从以太网到无线局域网再到蜂窝移动网络,数据通信的实质就是不断…

MySQL8.0(Win)的安装步骤

MySQL8.0(Win)的安装步骤 MySql8.0 安装网址MySql8.0 安装界面界面一界面二界面三界面四界面五界面六界面七界面八界面十界面十一 查看 MySql8.0 安装结果配置MySql8.0的环境变量Path使用命令行访问MySQL的安装结果使用命令行操作MySQL数据库显示MySQL中…

Fiddler 简单抓包

文章目录 一、Fiddler 简介二、下载 Fiddler三、功能介绍1、Filters2、Inspectors3、Automatic BreakPoints4、TextWizard5、其他常用功能 一、Fiddler 简介 Fiddler是一个http协议调试代理工具,它能够记录并检查所有你的电脑和互联网之间的http通讯,设…

计算机由于找不到msvcr120.dll无法执行代码的解决方法分享

运行软件程序或游戏的时候,计算机提示由于找不到msvcr120.dll无法执行代码是怎么回事呢?msvcr120.dll是Microsoft Visual C的一部分,用于在Windows操作系统上运行C应用程序。它是一个动态链接库文件,包含了许多C运行时库&#xff…

【日志1】rsyslog,logrotate,post_code,journalctl

文章目录 1.rsyslog:rsyslogd一个进程 ,管理每个进程发来的log并往/var/log里写,syslog函数将log写给rsyslogd进程,rsyslogd -v2.logrotate:logrotate /etc/logrotate.rsyslog(bb中重命名)3.pos…

【计算机视觉 | 目标检测】arxiv 计算机视觉关于目标检测的学术速递(6月 26 日论文合集)

文章目录 一、检测相关(4篇)1.1 Bridging the Performance Gap between DETR and R-CNN for Graphical Object Detection in Document Images1.2 Cascade Subspace Clustering for Outlier Detection1.3 Lesion Detection on Leaves using Class Activation Maps1.4 Deep Omni-…

UI还不错的视频播放器:GOMPlayerPlus

之前给各位小伙伴们测试过一款叫【完美解码】开源的播放器,今天给各位同学测试了一款小编认为不错的UI视频播放器,大家也可以测试学习下,顺便也可以对比下看看是【完美解码】好用还是【GOMPlayerPlus】好用。 一、简单介绍 这款影音播放器是…

Git Bash介绍

Git Bash介绍 Git是一个版本控制工具,而Git Bash是在Windows系统中运行Git命令的命令行界面工具。您可以使用Git Bash来管理和操作Git仓库。当你在Windows系统上安装Git时,它会默认安装Git Bash。 Git Bash是git(版本管理器)中提供的一个命令行工具&am…

数据库监控与调优【九】—— 索引数据结构

索引数据结构-B-Tree索引、Hash索引、空间索引、全文索引 二叉树查找 对于相同深度的节点,左侧的节点总是比右侧的节点小。在搜索时,如果要搜索的值key大于根节点(图中6),就会在右侧子树里查找;key小于根…

制造业开出每月1.8万给程序员?掌握IT技术就是“铁饭碗”

在知乎上看到一个问题: 这个问题的浏览次数超过了七百万次。 今年,许多毕业生面临着就业难问题。社交网站上也疯传着“缩招”、“裁员”的消息,但为什么还是源源不断的有人选择加入IT行业? 真实现状是,在这个智能时代&…

第2讲 Camera Sensor 类型

本讲是Camera Sensor驱动专题的第2讲,我们讲解Camera Sensor的类型。 更多资源: 资源描述在线课程极客笔记在线课程知识星球星球名称:深入浅出Android Camera 星球ID: 17296815Wechat极客笔记圈 Camera Sensor 介绍 Charge-coupled devic…

windows下VScode搭建IDApython脚本开发环境遇到的问题

开发环境 IDA pro 7.7 vscode 最新版 python版本 与IDA 自带python 一致 3.8.10 (小版本号也必须要一致) 安装插件 下载 插件仓库的地址:https://github.com/ioncodes/idacode release版本 将插件安装到 IDApath/plugins/ idacode ->setting.py 设置如下:…

SASE架构的概念

一、概念 SASE 是一种基于实体的身份、实时上下 文、企业安全/合规策略,以及在整个会话中持续 评估风险/信任的服务实体的身份可与人员、人员组(分支办公室)、设备、应用、服务、物联网系统或边缘计算场地相关联。SASE是一个融合了SD-WAN&am…

关于安全生产月宣传教育答题活动的策划方案

安全生产月宣传教育活动 推荐功能:答题 安全生产月采用答题活动,可以最大化的检测到员工的安全生产意识,可设置门槛抽奖,规定满分员工可以参与抽奖,促进员工更快掌握安全知识,还可以从后台数据检测到每个人…

成为行业风向标,亚马逊云科技近年在数据库排名逐年上升

近10年,全球数据库市场加速变革,云数据库尤其是云原生数据库成为整个数据库市场的关键变量。某种程度上,亚马逊云科技作为全球云原生数据库的领导者,具有行业风向标的价值。 近期,发生了一件对全球数据库市场具有标志性…

MyBatis-Plus:条件构造器Wrapper

目录 1.Wrapper概述 1.1.Wrapper的继承关系 1.2.Wapper介绍 1.3.各个构造器使用区别 1.4.构造器常用方法 2.Wrapper常用构造器介绍 2.1.QueryWrapper 2.2.UpdateWrapper 2.3.LambdaQueryWrapper 2.4.AbstractWrapper 3. Lambda条件构造器 3.1.示例 4.鸣谢 MyBati…

Kubernetes(k8s)容器编排数据存储

目录 1 什么是数据卷1.1 存储卷概述1.2 存储卷类型1.2.1 非持久性存储1.2.2 网络连接性存储1.2.3 分布式存储1.2.4 云端存储 2 emptydir2.1 使用场景2.2 使用示例2.2.1 案例说明2.2.2 创建资源清单2.2.3 创建deploy2.2.4 访问测试 2.3 测试存储卷2.3.1 登录sidecar2.3.2 登录ng…

springboot+shiro+redis实现session共享和cache共享

在分布式应用中,若是使用了负载均衡,用户第一次访问,连接的A服务器,进行了登录操作进入了系统,当用户再次操作时,请求被转发到了B服务器,用户并没有在B进行登录,此时用户又来到了登录…