[kdelibs] [Bug 323978] New: test_kconf_update does not test the result of executing kconf_update

Christopher Yeleighton giecrilj at stegny.2a.pl
Sat Aug 24 18:30:58 BST 2013


https://bugs.kde.org/show_bug.cgi?id=323978

            Bug ID: 323978
           Summary: test_kconf_update does not test the result of
                    executing kconf_update
    Classification: Unclassified
           Product: kdelibs
           Version: 4.10.5
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: kded
          Assignee: unassigned-bugs at kde.org
          Reporter: giecrilj at stegny.2a.pl

test_kconf_update does not test the result of executing kconf_update as a
process

Reproducible: Always

Steps to Reproduce:
  1. 
{ 
ln -sT .
/home/abuild/rpmbuild/BUILDROOT/kdelibs4-4.10.5-24.1.x86_64/usr/share/kde4/share 
}
  2. 
{ 
export \
KDEDIRS=\
/home/abuild/rpmbuild/BUILDROOT/kdelibs4-4.10.5-24.1.x86_64/usr:\
/home/abuild/rpmbuild/BUILDROOT/kdelibs4-4.10.5-24.1.x86_64/usr/share/kde4
}
  3. { cd build; }
  4. 
{ 
xinit\
 /usr/bin/dbus-launch\
 /bin/bash\
 -c '/usr/bin/make ARGS=-V test && /usr/bin/mkdir
"${HOME}/.kde-unit-test/success"'\
 -- /usr/bin/Xvfb :1
}

Actual Results:  
[ 4929s] 132: Test command:
/home/abuild/rpmbuild/BUILD/kdelibs-4.10.5/build/bin/test_kconf_update.shell
[ 4929s] 132: Test timeout computed to be: 1500
[ 4929s] 132: ********* Start testing of TestKConfUpdate *********
[ 4929s] 132: Config: Using QTest library 4.8.5, Qt 4.8.5
[ 4929s] 132: PASS   : TestKConfUpdate::initTestCase()
[ 4929s] 132:    Loc:
[/home/abuild/rpmbuild/BUILD/kdelibs-4.10.5/kconf_update/tests/test_kconf_update.cpp(72)]
[ 4929s] 132: FAIL!  : TestKConfUpdate::test(moveKeysSameFile) Compared values
are not the same


Expected Results:  
[ 4929s] 132: Test command:
/home/abuild/rpmbuild/BUILD/kdelibs-4.10.5/build/bin/test_kconf_update.shell
[ 4929s] 132: Test timeout computed to be: 1500
[ 4929s] 132: ********* Start testing of TestKConfUpdate *********
[ 4929s] 132: Config: Using QTest library 4.8.5, Qt 4.8.5
[ 4929s] 132: PASS   : TestKConfUpdate::initTestCase()
[ 4929s] 132: FAIL!  : TestKConfUpdate::test(moveKeysSameFile) 'p .error () ==
p .UnknownError' returned FALSE. (No such file or directory)
[ 4929s] 132:    Loc:
[/home/abuild/rpmbuild/BUILD/kdelibs-4.10.5/kconf_update/tests/test_kconf_update.cpp(72)]
[ 4929s] 132: FAIL!  : TestKConfUpdate::test(moveKeysSameFile) Compared values
are not the same


The additional message I added shows the operator why the test went wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list