Bug 795772 - More mach options to control xpcshell test execution; r=ted
DONTBUILD (NPOTB)
This commit is contained in:
@@ -482,7 +482,7 @@ class XPCShellTests(object):
|
||||
if name is None:
|
||||
name = "xpcshell"
|
||||
else:
|
||||
assert isinstance(name, str)
|
||||
assert isinstance(name, basestring)
|
||||
|
||||
if filename is not None:
|
||||
fh = open(filename, 'wb')
|
||||
@@ -637,7 +637,7 @@ class XPCShellTests(object):
|
||||
testdirs = []
|
||||
|
||||
if xunitFilename is not None or xunitName is not None:
|
||||
if not isinstance(testsRootDir, str):
|
||||
if not isinstance(testsRootDir, basestring):
|
||||
raise Exception("testsRootDir must be a str when outputting xUnit.")
|
||||
|
||||
if not os.path.isabs(testsRootDir):
|
||||
|
||||
Reference in New Issue
Block a user