[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: merge pagestyle changes back to trunk
From:       Thomas Zander <zander () kde ! org>
Date:       2008-08-12 7:49:52
Message-ID: 200808120949.53280.zander () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday 11. August 2008 17:40:17 Pierre wrote:
> > Unit tests :)   I noted that at least one didn't compile, I'd like it if
> > we can even make them pass.
> 
> Now they compile, but they may segfault/fail... Work in progress...
> But I think that it's already enough for the merge, isn't it ?

Still doesn't compile for me; did you try with a clean install dir?

Scanning dependencies of target KWordTestBasicLayout
[ 93%] Building CXX object \
kword/part/frames/tests/CMakeFiles/KWordTestBasicLayout.dir/TestBasicLayout.o In file \
                included from \
                /home/zander/work/kde/koffice/kword/part/KWDocument.h:28,
                 from \
                /home/zander/work/kde/koffice/kword/part/frames/tests/TestBasicLayout.cpp:10:
                
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h:22:24: error: \
KoZoomMode.h: No such file or directory In file included from \
                /home/zander/work/kde/koffice/kword/part/KWDocument.h:28,
                 from \
                /home/zander/work/kde/koffice/kword/part/frames/tests/TestBasicLayout.cpp:10:
                
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h:65: error: \
                ‘KoZoomMode' has not been declared
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h:65: error: expected \
                ‘,' or ‘...' before ‘mode'
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h:70: error: \
                ‘KoZoomMode' has not been declared
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h:70: error: ISO C++ \
                forbids declaration of ‘Mode' with no type
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h:70: error: expected \
                ‘;' before ‘zoomMode'
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h:72: error: expected \
                `;' before ‘double'
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h:80: error: \
                ‘KoZoomMode' has not been declared
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h:80: error: ISO C++ \
                forbids declaration of ‘Mode' with no type
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h:80: error: expected \
                ‘;' before ‘m_zoomMode'
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h: In member function \
                ‘void KWApplicationConfig::setZoomMode(int)':
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h:65: error: \
                ‘m_zoomMode' was not declared in this scope
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h:65: error: ‘mode' \
                was not declared in this scope
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h: At global scope:
/home/zander/work/kde/koffice/kword/part/KWApplicationConfig.h:65: warning: unused \
parameter ‘Mode' make[2]: *** \
[kword/part/frames/tests/CMakeFiles/KWordTestBasicLayout.dir/TestBasicLayout.o] Error \
1 make[1]: *** [kword/part/frames/tests/CMakeFiles/KWordTestBasicLayout.dir/all] \
                Error 2
make: *** [all] Error 2


To answer if you can integrate while the test fails;  well, I'm thinking the main \
reason we have unit tests is to make sure we don't have regressions.  Ignoring a test \
if it fails should be something that feels very wrong to all of us, so please do make \
sure all relevant tests pass, there is no problem with  waiting a couple more days \
with the integration, right?

-- 
Thomas Zander


["signature.asc" (application/pgp-signature)]

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic