Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 125193 Details for
Bug 185689
media-libs/exempi-2 (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
exempi-1.99.3-tests-boost-1.34.patch
exempi-1.99.3-tests-boost-1.34.patch (text/plain), 3.03 KB, created by
Alexandre Rostovtsev (RETIRED)
on 2007-07-17 18:48:04 UTC
(
hide
)
Description:
exempi-1.99.3-tests-boost-1.34.patch
Filename:
MIME Type:
Creator:
Alexandre Rostovtsev (RETIRED)
Created:
2007-07-17 18:48:04 UTC
Size:
3.03 KB
patch
obsolete
>diff -ru exempi-1.99.3/exempi/tests/test1.cpp exempi-1.99.3.new/exempi/tests/test1.cpp >--- exempi-1.99.3/exempi/tests/test1.cpp 2007-06-28 21:12:33.000000000 -0400 >+++ exempi-1.99.3.new/exempi/tests/test1.cpp 2007-07-16 05:23:30.000000000 -0400 >@@ -37,10 +37,15 @@ > #include <stdlib.h> > #include <stdio.h> > >+#define BOOST_TEST_DYN_LINK >+ > #include <string> > > #include <boost/static_assert.hpp> >-#include <boost/test/auto_unit_test.hpp> >+#include <boost/test/unit_test.hpp> >+#include <boost/test/framework.hpp> >+#include <boost/test/results_reporter.hpp> >+#include <boost/test/results_collector.hpp> > > #include "xmpconsts.h" > #include "xmp.h" >@@ -238,3 +243,16 @@ > return test; > } > >+ >+int >+main( int argc, char* argv[] ) >+{ >+ namespace ut = boost::unit_test; >+ >+ ut::framework::init( argc, argv ); >+ ut::test_suite::test_suite* test = init_unit_test_suite( argc, argv ); >+ ut::framework::run( test ); >+ ut::results_reporter::make_report( ut::INV_REPORT_LEVEL, test->p_id ); >+ return ut::results_collector.results( test->p_id ).result_code(); >+} >+ >diff -ru exempi-1.99.3/exempi/tests/test2.cpp exempi-1.99.3.new/exempi/tests/test2.cpp >--- exempi-1.99.3/exempi/tests/test2.cpp 2007-05-27 18:26:56.000000000 -0400 >+++ exempi-1.99.3.new/exempi/tests/test2.cpp 2007-07-16 05:23:30.000000000 -0400 >@@ -39,8 +39,13 @@ > > #include <string> > >+#define BOOST_TEST_DYN_LINK >+ > #include <boost/static_assert.hpp> >-#include <boost/test/auto_unit_test.hpp> >+#include <boost/test/unit_test.hpp> >+#include <boost/test/framework.hpp> >+#include <boost/test/results_reporter.hpp> >+#include <boost/test/results_collector.hpp> > > #include "xmp.h" > #include "xmpconsts.h" >@@ -165,3 +170,16 @@ > return test; > } > >+ >+int >+main( int argc, char* argv[] ) >+{ >+ namespace ut = boost::unit_test; >+ >+ ut::framework::init( argc, argv ); >+ ut::test_suite::test_suite* test = init_unit_test_suite( argc, argv ); >+ ut::framework::run( test ); >+ ut::results_reporter::make_report( ut::INV_REPORT_LEVEL, test->p_id ); >+ return ut::results_collector.results( test->p_id ).result_code(); >+} >+ >diff -ru exempi-1.99.3/exempi/tests/test3.cpp exempi-1.99.3.new/exempi/tests/test3.cpp >--- exempi-1.99.3/exempi/tests/test3.cpp 2007-06-23 19:16:58.000000000 -0400 >+++ exempi-1.99.3.new/exempi/tests/test3.cpp 2007-07-16 05:23:30.000000000 -0400 >@@ -40,8 +40,13 @@ > #include <string> > #include <iostream> > >+#define BOOST_TEST_DYN_LINK >+ > #include <boost/static_assert.hpp> >-#include <boost/test/auto_unit_test.hpp> >+#include <boost/test/unit_test.hpp> >+#include <boost/test/framework.hpp> >+#include <boost/test/results_reporter.hpp> >+#include <boost/test/results_collector.hpp> > #include <boost/format.hpp> > > #include "xmp.h" >@@ -136,3 +141,16 @@ > return test; > } > >+ >+int >+main( int argc, char* argv[] ) >+{ >+ namespace ut = boost::unit_test; >+ >+ ut::framework::init( argc, argv ); >+ ut::test_suite::test_suite* test = init_unit_test_suite( argc, argv ); >+ ut::framework::run( test ); >+ ut::results_reporter::make_report( ut::INV_REPORT_LEVEL, test->p_id ); >+ return ut::results_collector.results( test->p_id ).result_code(); >+} >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 185689
:
125191
|
125192
| 125193