Exclude selected examples from tests (such as HDF5)

This commit is contained in:
2xB 2019-05-29 10:58:33 +02:00
parent a37e877631
commit 560993e8c5
2 changed files with 7 additions and 1 deletions

View File

@ -41,7 +41,7 @@ except ImportError:
"pypi\n\npip install importlib\n\n")
pass
files = utils.buildFileList(utils.examples)
files = utils.buildFileList(utils.tested_examples)
frontends = {Qt.PYQT4: False, Qt.PYQT5: False, Qt.PYSIDE: False, Qt.PYSIDE2: False}
# sort out which of the front ends are available
for frontend in frontends.keys():

View File

@ -4,6 +4,7 @@ import time
import os
import sys
import errno
import copy
from pyqtgraph.pgcollections import OrderedDict
from pyqtgraph.python2_3 import basestring
@ -91,6 +92,11 @@ examples = OrderedDict([
('Custom Flowchart Nodes', 'FlowchartCustomNode.py'),
])
not_tested = ['HDF5 big data']
tested_examples = copy.deepcopy(examples)
all(map(tested_examples.pop, not_tested))
def buildFileList(examples, files=None):
if files == None: