Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443746 - kde-base/analitza-4.9.80 fails tests
Summary: kde-base/analitza-4.9.80 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-18 09:45 UTC by Andreas K. Hüttel
Modified: 2012-11-23 17:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2012-11-18 09:45:09 UTC
est project /var/tmp/portage/kde-base/analitza-4.9.80/work/analitza-4.9.80_build
      Start  1: analitzatest
 1/13 Test  #1: analitzatest .....................   Passed    0.21 sec
      Start  2: matchingtest
 2/13 Test  #2: matchingtest .....................   Passed    0.02 sec
      Start  3: expressiontest
 3/13 Test  #3: expressiontest ...................   Passed    0.03 sec
      Start  4: exptest
 4/13 Test  #4: exptest ..........................   Passed    0.02 sec
      Start  5: mathmlpresentationtest
 5/13 Test  #5: mathmlpresentationtest ...........   Passed    0.01 sec
      Start  6: typechecktest
 6/13 Test  #6: typechecktest ....................   Passed    0.07 sec
      Start  7: builtintest
 7/13 Test  #7: builtintest ......................   Passed    0.02 sec
      Start  8: planecurvetest
 8/13 Test  #8: planecurvetest ...................   Passed    0.21 sec
      Start  9: spacecurvetest
 9/13 Test  #9: spacecurvetest ...................   Passed    0.14 sec
      Start 10: surfacetest
10/13 Test #10: surfacetest ......................   Passed    0.06 sec
      Start 11: plotsmodeltest
11/13 Test #11: plotsmodeltest ...................   Passed    0.59 sec
      Start 12: plotsdictionarymodeltest
12/13 Test #12: plotsdictionarymodeltest .........***Failed    0.06 sec
      Start 13: operatorsmodeltest
13/13 Test #13: operatorsmodeltest ...............   Passed    0.08 sec

92% tests passed, 1 tests failed out of 13

Total Test time (real) =   1.51 sec

The following tests FAILED:
         12 - plotsdictionarymodeltest (Failed)

12/13 Testing: plotsdictionarymodeltest
12/13 Test: plotsdictionarymodeltest
Command: "/var/tmp/portage/kde-base/analitza-4.9.80/work/analitza-4.9.80_build/analitzaplot/tests/plotsdictionarymodeltest.shell"
Directory: /var/tmp/portage/kde-base/analitza-4.9.80/work/analitza-4.9.80_build/analitzaplot/tests
"plotsdictionarymodeltest" start time: Nov 18 02:14 CET
Output:
----------------------------------------------------------
********* Start testing of PlotsDictionaryModelTest *********
Config: Using QTest library 4.8.3, Qt 4.8.3
PASS   : PlotsDictionaryModelTest::initTestCase()
QWARN  : PlotsDictionaryModelTest::testDictionaries() cannot locate "libanalitza/data/plots/basic_curves.plots" 
QWARN  : PlotsDictionaryModelTest::testDictionaries() cannot locate "libanalitza/data/plots/conics.plots" 
QWARN  : PlotsDictionaryModelTest::testDictionaries() cannot locate "libanalitza/data/plots/polar.plots" 
FAIL!  : PlotsDictionaryModelTest::testDictionaries() please install before running the test
   Loc: [/var/tmp/portage/kde-base/analitza-4.9.80/work/analitza-4.9.80/analitzaplot/tests/plotsdictionarymodeltest.cpp(44)]
PASS   : PlotsDictionaryModelTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped
********* Finished testing of PlotsDictionaryModelTest *********
<end of output>
Test time =   0.06 sec
----------------------------------------------------------
Test Failed.
"plotsdictionarymodeltest" end time: Nov 18 02:14 CET
"plotsdictionarymodeltest" time elapsed: 00:00:00
----------------------------------------------------------

"please install before running the test" ... oh great.
Comment 1 Chris Reffett (RETIRED) gentoo-dev Security 2012-11-23 17:23:19 UTC
I can confirm that this only is a problem when emerging this for the first time, subsequent installs pass fine.
Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2012-11-23 17:39:07 UTC
Also, on further investigation, the reason for this is because of funny build paths vs. install paths, basically it installs some libraries it wants into libanalitza/data/plots/, but builds them in a different relative path or something. I've patched this test out, since the fix would be touching one of the installed libraries rather than just the test and would probably have some unintended side effect.