~timo-jyrinki/ubuntu/trusty/pitivi/backport_utopic_fixes

« back to all changes in this revision

Viewing changes to tests/runtests.py

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-05-26 15:29:58 UTC
  • mfrom: (3.1.20 experimental)
  • Revision ID: james.westby@ubuntu.com-20110526152958-90je1myzzjly26vw
Tags: 0.13.9.90-1ubuntu1
* Resynchronize on Debian
* debian/control:
  - Depend on python-launchpad-integration
  - Drop hal from Recommends to Suggests. This version has the patch applied
    to not crash without hal.
* debian/patches/01_lpi.patch:
  - launchpad integration  
* debian/rules:
  - Use gnome.mk so a translation template is built

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
import os
3
3
import sys
4
4
import unittest
 
5
import tests
5
6
 
6
 
SKIP_FILES = ['common', 'runtests', 'test_integration']
 
7
SKIP_FILES = ['common', 'runtests'] #They are not testsuites
 
8
#Those files need sample files, and therefore shoud not be tested
 
9
#when running distcheck
 
10
INTEGRATION_FILES=['test_still_image', 'test_integration']
7
11
 
8
12
def gettestnames(which):
 
13
    if os.getenv("TEST_INTEGRATION"):
 
14
        return INTEGRATION_FILES
 
15
    else:
 
16
        SKIP_FILES.extend(INTEGRATION_FILES)
 
17
 
9
18
    if not which:
10
19
        dir = os.path.split(os.path.abspath(__file__))[0]
11
20
        which = [os.path.basename(p) for p in glob.glob('%s/test_*.py' % dir)]