Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 241922
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tomáš Chvátal <scarabeus@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 241922 depends on: 239737 239753 241868 242124 245000 246140 246225 257723 257724 Show dependency tree
Bug 241922 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-10-14 10:56 0000
This bug is kde4 test failitures tracker, do not write stuff which fails here
but create separate bug and add it into depends.

------- Comment #1 From Ryan Hill 2008-12-05 06:49:41 0000 -------
these failures are caused by kde4-base.eclass setting -DKDE4_BUILD_TESTS=OFF in
kde4-base_src_configure().  The tests are built during src_compile:

[ 92%] Built target kdeinit_konsole
Scanning dependencies of target konsole
[ 93%] Generating PartTest.moc
Building CXX object apps/konsole/src/CMakeFiles/konsole.dir/konsole_dummy.o
Generating ProfileTest.moc
Linking CXX executable konsole
[ 93%] [ 93%] Built target konsolepart
Built target konsole
Generating SessionManagerTest.moc
Scanning dependencies of target PartTest
Scanning dependencies of target ProfileTest
[ 94%] Building CXX object
apps/konsole/src/tests/CMakeFiles/ProfileTest.dir/ProfileTest.o
[ 95%] Building CXX object
apps/konsole/src/tests/CMakeFiles/PartTest.dir/PartTest.o
[ 96%] Building CXX object
apps/konsole/src/tests/CMakeFiles/PartTest.dir/PartTest_automoc.o
Scanning dependencies of target SessionManagerTest
[ 97%] Building CXX object
apps/konsole/src/tests/CMakeFiles/SessionManagerTest.dir/SessionManagerTest.o
[ 98%] Building CXX object
apps/konsole/src/tests/CMakeFiles/SessionManagerTest.dir/SessionManagerTest_automoc.o
[100%] Building CXX object
apps/konsole/src/tests/CMakeFiles/ProfileTest.dir/ProfileTest_automoc.o
Linking CXX executable PartTest
Linking CXX executable ProfileTest
Linking CXX executable SessionManagerTest
[100%] Built target PartTest
[100%] Built target ProfileTest
[100%] Built target SessionManagerTest
>>> Source compiled.
>>> Creating Manifest for /usr/portage/kde-base/konsole
  digest.assumed                 1
   konsole-3.5.9::kdebase-3.5.9.tar.bz2
make -j4
[  1%] Built target fontembedder
[  2%] Built target konsole-handbook
[  4%] Built target kded_kwrited
[ 44%] Built target konsolepart
[ 92%] Built target kdeinit_konsole
[ 93%] Built target konsole
[ 95%] Built target PartTest
[ 97%] Built target ProfileTest
[100%] Built target SessionManagerTest
 * >>> Test phase [test]: kde-base/konsole-4.1.3
make -j4 -j1 test
Running tests...
Start processing tests
Test project /var/tmp/portage/kde-base/konsole-4.1.3/work/konsole_build
  1/  2 Testing ProfileTest                      Passed
  2/  2 Testing SessionManagerTest               Passed

100% tests passed, 0 tests failed out of 2

------- Comment #2 From Kent Fredric 2009-01-15 12:23:51 0000 -------
Yeah, this seems to be such a trivial hack to fix: 

kde4-base.class

 if [[ $BUILD_TYPE = live ]]; then
     # Disable tests for live ebuilds
     RESTRICT="${RESTRICT} test"
     # Live ebuilds in kde-base default to kdeprefix by default
     IUSE="${IUSE} +kdeprefix"
 else
     # All other ebuild types default to -kdeprefix as before
     IUSE="${IUSE} kdeprefix"
 fi

+IUSE="${IUSE} test"

 # @ECLASS-VARIABLE: OPENGL_REQUIRED
 # @DESCRIPTION:
...
src_configure () { 
...
+    if has test ${IUSE//+} && use test; then
+        mycmakeargs="${mycmakeargs} -DKDE4_BUILD_TESTS=ON"
+    else
+    # Build tests in src_test only, where we override this value
    mycmakeargs="${mycmakeargs} -DKDE4_BUILD_TESTS=OFF"
+    fi


--> tests start passing like magic. 

Noted adding the 'test' iuse to everything to make this work is possibly a bit
overkill and there is probably a cleaner way to do it. 

------- Comment #3 From Ryan Hill 2009-02-14 02:24:24 0000 -------
these are the failures for 4.2.0.  i don't really see the point of filing a new
bug for each, since the root cause is the same.  these are just the packages i
installed (@kdebase and a few odds and ends) so there are more than likely
more.

|-- kde-base                                                                    
|   |-- akonadi-4.2.0                                                           
|   |-- kdemaildir-4.2.0                                                        
|   |-- kdemultimedia-kioslaves-4.2.0                                           
|   |-- konsole-4.2.0                                                           
|   |-- kontactinterfaces-4.2.0                                                 
|   |-- korganizer-4.2.0-r1                                                     
|   |-- kscd-4.2.0                                                              
|   |-- ksysguard-4.2.0                                                         
|   |-- ksystemlog-4.2.0                                                        
|   |-- libkcddb-4.2.0                                                          
|   |-- libkdegames-4.2.0                                                       
|   |-- libkdepim-4.2.0                                                         
|   |-- libkholidays-4.2.0                                                      
|   `-- solid-4.2.0 

------- Comment #4 From Ryan Hill 2009-03-13 02:58:10 0000 -------
most of these pass now, but there's a few that still don't.  i'll file bugs for
them.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug