[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 208854] New: run tag shows one output whereas konsole output
From: <stompdagger1 () yahoo ! com>
Date: 2009-09-29 8:52:49
Message-ID: bug-208854-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=208854
Summary: run tag shows one output whereas konsole output shows
another thing
Product: kdevelop
Version: unspecified
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: stompdagger1@yahoo.com
Version: svn (using KDE 4.3.1)
Compiler: gcc 4.1.1
OS: Linux
Installed from: Gentoo Packages
I'm writing a test for a data structure using boost test, one of the test
functions show two different outputs in different places, where is the code:
struct clear {
void operator()() {
printf("one\n");
for (int i=1;i<rand();i++)
mQueue.push(new int(rand()));
printf("two\n");
BOOST_CHECK_EQUAL(mQueue.empty(),false);
mQueue.clear();
BOOST_CHECK_EQUAL(mQueue.empty(),true);
}
};
void testClear() {
printf("called.\n");
clear p;
boost::thread t(p);
t.join();
}
//main
boost::unit_test::test_suite* init_unit_test_suite(int argc,char* argv[]) {
boost::unit_test::test_suite* testSuite=BOOST_TEST_SUITE("Queue test suite");
testSuite->add(BOOST_TEST_CASE(&testClear));
return testSuite;
}
the output in kdevelop run tag is:
Starting:
the output in konsole of the same file is:
ca11ed.
Running 1 test case...
called.
one
two
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic