Difference between revisions of "CppUnit"

From CBLFS
Jump to navigationJump to search
m (Adding homepage url)
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
----
 
----
  
{{Package-Introduction|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.|http://cppunit.sourceforge.net/cgi-bin/moin.cgi}}
+
{{Package-Introduction|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.|http://sourceforge.net/apps/mediawiki/cppunit/}}
  
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Optional ===
 
=== Optional ===
* [[doxygen]]
+
* [[Doxygen]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 82: Line 82:
 
| /usr/include/cppunit
 
| /usr/include/cppunit
 
|}
 
|}
 +
 +
[[Category:Programming]]

Latest revision as of 07:52, 15 May 2010

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.

Project Homepage: http://sourceforge.net/apps/mediawiki/cppunit/

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
Retrieved from "?title=CppUnit&oldid=20207"