CUNIT 与 CPPUNIT 测试框架安装

CUNIT

wget https://jaist.dl.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2
sudo tar -jxvf CUnit-2.1-3.tar.bz2

cd CUnit-2.1-3
sudo apt install automake 
sudo apt install libtool
sudo aclocal
sudo autoconf
sudo autoheader
sudo libtoolize
sudo automake --add-missing
sudo automake
sudo ./configure
sudo make
sudo make install

CPPUNIT

wget https://dev-www.libreoffice.org/src/cppunit/cppunit-1.13.2.tar.gz
sudo tar -zxf cppunit-1.13.2.tar.gz
cd cppunit-1.13.2
./configure
make
sudo make install

一个比较好的案例:
http://www.yolinux.com/TUTORIALS/CppUnit.html

posted @ 2020-06-30 14:55  代码之间  阅读(299)  评论(0编辑  收藏  举报