Build tests depending on installed files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
Low
|
Unassigned |
Bug Description
When building and testing the 0.91-pre0 release in a clean chroot, I saw several test failures as below.
I believe that this is due to inkscape looking for the units.xml file in the system datadir while not being yet installed.
This should be reproducible with the usual `make; make check; sudo make install` on a machine where inkscape is NOT installed.
I'm unsure however about the correct approach to fix this, probably some hardcoded fallback value in units.cpp?
** (process:677): WARNING **: Units file /usr/share/
Running 107 tests..
In StyleTest::testOne:
./style-test.h:235: Error: Expected (std::string(
./style-test.h:235: Error: Expected (std::string(
./style-test.h:235: Error: Expected (std::string(
.....
In CurveTest:
./display/
./display/
In CurveTest:
./display/
...................
Failed 21 of 107 tests
Success rate: 80%
0, segment: 3
XFAIL: cxxtests
The full test log is available at http://
Changed in inkscape: | |
milestone: | none → 0.91 |
importance: | Undecided → Low |
tags: | added: build packaging |
Changed in inkscape: | |
milestone: | 0.91 → 0.92 |
Confirmed on Crunchbang Waldorf, Inkscape trunk revision 13445.