Problems with kdelibs/dcop/tests
Brad Hards
bradh at frogmouth.net
Sun Dec 25 03:09:59 GMT 2005
In my ongoing attempt to make the unit tests work with kdelibs from trunk,
I've come across problems with the dcop tests [Yes, I know it is probably
going away, but while it is in the tree, the tests should work, unless that
is a substantial fraction of the work in converting to DBUS].
Are they working for anyone?
What I'm seeing (after a little patch that invokes the latest dcopserver:
--- tests/run-tests.sh (revision 491162)
+++ tests/run-tests.sh (working copy)
@@ -7,7 +7,8 @@
clean_up
-dcopserver --nofork &
+echo '* starting dcopserver'
+../dcopserver --nofork &
dcopserver_pid=$!
echo '* Running batch mode'
is this:
./dcopidl2cpp dcopidl_output.kidl
sh /home/bradh/coding/KDE/kdelibs/dcop/tests/run-tests.sh
* starting dcopserver
* Running batch mode
* Starting test app DCOP: register 'anonymous-2525' -> number of clients is
now 1
DCOP: 'anonymous-2525' now known as 'TestApp-2525'
DCOP: register 'anonymous-2539' -> number of clients is now 2
TestApp-2525
DCOP: unregister 'anonymous-2539'
started
* Running driver mode
DCOP: register 'anonymous-2563' -> number of clients is now 2
DCOP: unregister 'anonymous-2563'
DCOP: register 'anonymous-2577' -> number of clients is now 2
DCOP: 'anonymous-2577' now known as 'TestAppDriver-2577'
void Driver::test() count: 0
Sending 72 bytes from TestAppDriver-2577 to TestApp-2525. DCOPCall
void Driver::test() count: 1
Sending 80 bytes from TestAppDriver-2577 to TestApp-2525. DCOPCall
void Driver::test() count: 2
Sending 85 bytes from TestAppDriver-2577 to TestApp-2525. DCOPCall
void Driver::test() count: 3
Sending 93 bytes from TestAppDriver-2577 to TestApp-2525. DCOPCall
void Driver::test() count: 4
Sending 93 bytes from TestAppDriver-2577 to TestApp-2525. DCOPCall
void Driver::test() count: 5
Sending 101 bytes from TestAppDriver-2577 to TestApp-2525. DCOPCall
void Driver::test() count: 6
Sending 96 bytes from TestAppDriver-2577 to TestApp-2525. DCOPCall
void Driver::test() count: 7
Sending 104 bytes from TestAppDriver-2577 to TestApp-2525. DCOPCall
void Driver::test() count: 8
Sending 95 bytes from TestAppDriver-2577 to TestApp-2525. DCOPCall
void Driver::test() count: 9
Sending 103 bytes from TestAppDriver-2577 to TestApp-2525. DCOPCall
void Driver::test() count: 10
Sending 113 bytes from TestAppDriver-2577 to TestApp-2525. DCOPCall
void Driver::test() count: 11
Sending 121 bytes from TestAppDriver-2577 to TestApp-2525. DCOPCall
void Driver::test() count: 12
DCOP: unregister 'TestAppDriver-2577'
* Running shell mode
DCOP: register 'anonymous-2593' -> number of clients is now 2
DCOP: unregister 'anonymous-2593'
DCOP: register 'anonymous-2607' -> number of clients is now 2
Sending 104 bytes from anonymous-2607 to TestApp-2525. DCOPCall
Sending 74 bytes from anonymous-2607 to TestApp-2525. DCOPCall
Sending 68 bytes from anonymous-2607 to TestApp-2525. DCOPCall
DCOP: unregister 'anonymous-2607'
DCOP: register 'anonymous-2620' -> number of clients is now 2
Sending 104 bytes from anonymous-2620 to TestApp-2525. DCOPCall
Sending 74 bytes from anonymous-2620 to TestApp-2525. DCOPCall
Sending 76 bytes from anonymous-2620 to TestApp-2525. DCOPCall
DCOP: unregister 'anonymous-2620'
DCOP: register 'anonymous-2633' -> number of clients is now 2
Sending 104 bytes from anonymous-2633 to TestApp-2525. DCOPCall
Sending 74 bytes from anonymous-2633 to TestApp-2525. DCOPCall
Sending 81 bytes from anonymous-2633 to TestApp-2525. DCOPCall
DCOP: unregister 'anonymous-2633'
DCOP: register 'anonymous-2647' -> number of clients is now 2
Sending 104 bytes from anonymous-2647 to TestApp-2525. DCOPCall
Sending 74 bytes from anonymous-2647 to TestApp-2525. DCOPCall
Sending 89 bytes from anonymous-2647 to TestApp-2525. DCOPCall
DCOP: unregister 'anonymous-2647'
DCOP: register 'anonymous-2660' -> number of clients is now 2
Sending 104 bytes from anonymous-2660 to TestApp-2525. DCOPCall
Sending 74 bytes from anonymous-2660 to TestApp-2525. DCOPCall
Sending 89 bytes from anonymous-2660 to TestApp-2525. DCOPCall
DCOP: unregister 'anonymous-2660'
DCOP: register 'anonymous-2673' -> number of clients is now 2
Sending 104 bytes from anonymous-2673 to TestApp-2525. DCOPCall
Sending 74 bytes from anonymous-2673 to TestApp-2525. DCOPCall
Sending 97 bytes from anonymous-2673 to TestApp-2525. DCOPCall
DCOP: unregister 'anonymous-2673'
DCOP: register 'anonymous-2686' -> number of clients is now 2
Sending 104 bytes from anonymous-2686 to TestApp-2525. DCOPCall
Sending 74 bytes from anonymous-2686 to TestApp-2525. DCOPCall
Sending 92 bytes from anonymous-2686 to TestApp-2525. DCOPCall
DCOP: unregister 'anonymous-2686'
DCOP: register 'anonymous-2699' -> number of clients is now 2
Sending 104 bytes from anonymous-2699 to TestApp-2525. DCOPCall
Sending 74 bytes from anonymous-2699 to TestApp-2525. DCOPCall
Sending 100 bytes from anonymous-2699 to TestApp-2525. DCOPCall
DCOP: unregister 'anonymous-2699'
DCOP: register 'anonymous-2712' -> number of clients is now 2
Sending 104 bytes from anonymous-2712 to TestApp-2525. DCOPCall
Sending 74 bytes from anonymous-2712 to TestApp-2525. DCOPCall
Sending 91 bytes from anonymous-2712 to TestApp-2525. DCOPCall
DCOP: unregister 'anonymous-2712'
DCOP: register 'anonymous-2725' -> number of clients is now 2
Sending 104 bytes from anonymous-2725 to TestApp-2525. DCOPCall
Sending 74 bytes from anonymous-2725 to TestApp-2525. DCOPCall
Sending 99 bytes from anonymous-2725 to TestApp-2525. DCOPCall
DCOP: unregister 'anonymous-2725'
DCOP: register 'anonymous-2738' -> number of clients is now 2
Sending 104 bytes from anonymous-2738 to TestApp-2525. DCOPCall
Sending 74 bytes from anonymous-2738 to TestApp-2525. DCOPCall
Sending 105 bytes from anonymous-2738 to TestApp-2525. DCOPCall
call failed
DCOP: unregister 'anonymous-2738'
DCOP: register 'anonymous-2751' -> number of clients is now 2
Sending 104 bytes from anonymous-2751 to TestApp-2525. DCOPCall
Sending 74 bytes from anonymous-2751 to TestApp-2525. DCOPCall
Sending 113 bytes from anonymous-2751 to TestApp-2525. DCOPCall
call failed
DCOP: unregister 'anonymous-2751'
DCOP: register 'anonymous-2765' -> number of clients is now 2
Sending 104 bytes from anonymous-2765 to TestApp-2525. DCOPCall
Sending 74 bytes from anonymous-2765 to TestApp-2525. DCOPCall
Sending 69 bytes from anonymous-2765 to TestApp-2525. DCOPCall
DCOP: unregister 'TestApp-2525'
DCOP: unregister 'anonymous-2765'
* Comparing ... Files batch.returns and shell.returns differ
FAILED:
--- batch.returns 2006-01-01 10:24:23.000000000 +1100
+++ shell.returns 2006-01-01 10:24:27.000000000 +1100
@@ -41,20 +41,18 @@
unsigned long int getObject23(( int x, int y))
{
// 2.3 unsigned long int
-5
+0
}
unsigned long int getObject23_virtual(( int x, int y))
{
// 2.3 unsigned long int
-5
+0
}
unsigned long int getObject24(( unsigned long int x, int y))
{
// 2.4 unsigned long int
-12
}
unsigned long int getObject24_virtual(( unsigned long int x, int y))
{
// 2.4 unsigned long int
-12
}
Error creating check-local_top_dcop_tests. Exit status 1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051225/4c0591c1/attachment.sig>
More information about the kde-core-devel
mailing list