Difference between revisions of "CppUnit"
From CBLFS
Jump to navigationJump to searchChipster19 (talk | contribs) |
|||
Line 34: | Line 34: | ||
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
− | |||
./configure --prefix=/usr --disable-dependency-tracking && | ./configure --prefix=/usr --disable-dependency-tracking && | ||
make | make | ||
Line 40: | Line 39: | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/cppunit-config{,-32} | ||
=== N32 === | === N32 === | ||
Line 47: | Line 47: | ||
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
− | + | ./configure --prefix=/usr --libdir=/usr/lib32 \ | |
− | ./configure --prefix=/usr -- | + | --disable-dependency-tracking && |
make | make | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/cppunit-config{,-n32} | ||
=== 64Bit === | === 64Bit === | ||
Line 60: | Line 61: | ||
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
− | + | ./configure --prefix=/usr --libdir=/usr/lib64 \ | |
− | ./configure --prefix=/usr -- | + | --disable-dependency-tracking && |
make | make | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/cppunit-config{,-64} && | ||
+ | ln -sfv multiarch_wrapper /usr/bin/cppunit-config | ||
= Contents = | = Contents = | ||
Line 73: | Line 76: | ||
|-valign="top" | |-valign="top" | ||
! Installed Programs: | ! Installed Programs: | ||
− | | cppunit-config | + | | cppunit-config DllPlugInTester |
|-valign="top" | |-valign="top" | ||
! Installed Libraries: | ! Installed Libraries: |
Revision as of 06:36, 24 December 2006
Download Source: | http://downloads.sourceforge.net/cppunit/cppunit-1.12.1.tar.gz |
---|
Contents
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}" \ ./configure --prefix=/usr --disable-dependency-tracking && make
Install the package:
make install && mv -v /usr/bin/cppunit-config{,-32}
N32
Compile the package:
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ ./configure --prefix=/usr --libdir=/usr/lib32 \ --disable-dependency-tracking && make
Install the package:
make install && mv -v /usr/bin/cppunit-config{,-n32}
64Bit
Compile the package:
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ ./configure --prefix=/usr --libdir=/usr/lib64 \ --disable-dependency-tracking && make
Install the package:
make install && mv -v /usr/bin/cppunit-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/cppunit-config
Contents
Installed Programs: | cppunit-config DllPlugInTester |
---|---|
Installed Libraries: | libcppunit.{a,la,so} |
Installed Directories: | /usr/include/cppunit |