Difference between revisions of "CppUnit"

From CBLFS
Jump to navigationJump to search
 
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://downloads.sourceforge.net/cppunit/cppunit-1.12.0.tar.gz
+
| http://downloads.sourceforge.net/cppunit/cppunit-{{CppUnit-Version}}.tar.gz
 
|}
 
|}
  

Revision as of 07:24, 24 December 2006

Download Source: http://downloads.sourceforge.net/cppunit/cppunit-1.12.1.tar.gz

Introduction to CppUnit

CppUnit is the C++ port of the famous JUnit framework for unit testing. Test output is in XML for automatic testing and GUI-based for supervised tests.

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --disable-dependency-tracking &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=/usr --disable-dependency-tracking &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
./configure --prefix=/usr --enable-libsuffix=32 --disable-dependency-tracking &&
make

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=/usr --enable-libsuffix=64 --disable-dependency-tracking &&
make

Install the package:

make install

Contents

Installed Programs: cppunit-config
Installed Libraries: libcppunit.{a,la,so}
Installed Directories: /usr/include/cppunit