Merge pull request #905 from 2xB/test_exclude_examples
Exclude selected examples from tests (such as HDF5)
This commit is contained in:
commit
eb90616ae2
@ -41,7 +41,7 @@ except ImportError:
|
|||||||
"pypi\n\npip install importlib\n\n")
|
"pypi\n\npip install importlib\n\n")
|
||||||
pass
|
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}
|
frontends = {Qt.PYQT4: False, Qt.PYQT5: False, Qt.PYSIDE: False, Qt.PYSIDE2: False}
|
||||||
# sort out which of the front ends are available
|
# sort out which of the front ends are available
|
||||||
for frontend in frontends.keys():
|
for frontend in frontends.keys():
|
||||||
|
@ -4,6 +4,7 @@ import time
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import errno
|
import errno
|
||||||
|
import copy
|
||||||
from pyqtgraph.pgcollections import OrderedDict
|
from pyqtgraph.pgcollections import OrderedDict
|
||||||
from pyqtgraph.python2_3 import basestring
|
from pyqtgraph.python2_3 import basestring
|
||||||
|
|
||||||
@ -91,6 +92,11 @@ examples = OrderedDict([
|
|||||||
('Custom Flowchart Nodes', 'FlowchartCustomNode.py'),
|
('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):
|
def buildFileList(examples, files=None):
|
||||||
if files == None:
|
if files == None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user