Card tests rely on build dir being a subdir of the source tree

Bug #1359201 reported by Daniel d'Andrada
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Fix Released
High
Daniel d'Andrada

Bug Description

Steps to reproduce the issue:

1 - bzr branch lp:unity8 trunk
2 - mkdir trunk_build
3 - cd trunk_build
4 - cmake ../trunk
5 - make -j15
6- make testCard

Expected outcome:
All test cases pass

Actual outcome:
Lot's of failures because the qml test code can't find images as the generated filepaths are incorrect, assuming that the build dir is a subdir of the source tree.

Related branches

Changed in unity8:
assignee: nobody → Daniel d'Andrada (dandrader)
Changed in unity8 (Ubuntu):
assignee: nobody → Daniel d'Andrada (dandrader)
status: New → In Progress
kevin gunn (kgunn72)
Changed in unity8 (Ubuntu):
status: In Progress → Fix Committed
importance: Undecided → High
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
status: Fix Committed → In Progress
Michał Sawicz (saviq)
no longer affects: unity8
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 8.00+14.10.20140918-0ubuntu1

---------------
unity8 (8.00+14.10.20140918-0ubuntu1) utopic; urgency=low

  [ Michael Zanetti ]
  * Focus first app if there are already some running when we're
    starting up (LP: #1339883)

  [ Michał Sawicz ]
  * Don't play empty urls in Notification.qml

  [ Daniel d'Andrada ]
  * Improve tst_Shell
  * Build without any warnings
  * Make tst_Card work from outside the source tree (LP:1359201) (LP:
    #1359201)
 -- Ubuntu daily release <email address hidden> Thu, 18 Sep 2014 09:44:06 +0000

Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.