Bug 808783 - Disable failing Mn tests, r=jgriffin

This commit is contained in:
Andrew Halberstadt 2012-11-06 09:17:39 -08:00
parent 821e6e4ca4
commit d6598f5924
5 changed files with 24 additions and 16 deletions

View File

@ -4,7 +4,9 @@ browser = false
qemu = true
[test_mobile_networks.js]
disabled = Bug 808783
[test_mobile_voice_state.js]
[test_mobile_iccinfo.js]
[test_mobile_operator_names.js]
[test_mobile_preferred_network_type.js]
disabled = Bug 808783

View File

@ -3,6 +3,6 @@ b2g = true
browser = false
qemu = true
[test_geolocation.js]
disabled = Bug 808783

View File

@ -10,30 +10,36 @@ qemu = true
[test_outgoing_answer_hangup_oncallschanged.js]
[test_outgoing_hangup_alerting.js]
[test_outgoing_hangup_held.js]
# Bug 761533
#[test_outgoing_badNumber.js]
#expectedfailure = true
#[test_outgoing_busy.js]
#expectedfailure = true
[test_outgoing_badNumber.js]
disabled = Bug 761533
[test_outgoing_busy.js]
disabled = Bug 761533
[test_outgoing_reject.js]
# [test_voicemail_statuschanged.py] - Bug 806138
[test_voicemail_statuschanged.py]
disabled = Bug 806138
[test_voicemail_number.js]
[test_incoming_hold_resume.js]
# Bug 790463
#[test_outgoing_hold_resume.js]
#[test_incoming_already_connected.js]
[test_outgoing_hold_resume.js]
disabled = Bug 790463
[test_incoming_already_connected.js]
disabled = Bug 790463
[test_incoming_answer_remote_hangup.js]
[test_incoming_connecting_hangup.js]
[test_incoming_connecting_remote_hangup.js]
[test_incoming_hangup_held.js]
disabled = Bug 790463
[test_incoming_remote_cancel.js]
[test_incoming_remote_hangup_held.js]
[test_outgoing_already_held.js]
disabled = Bug 790463
[test_outgoing_answer_local_hangup.js]
# Bug 790463
#[test_outgoing_remote_hangup_held.js]
disabled = Bug 790463
[test_outgoing_remote_hangup_held.js]
disabled = Bug 790463
[test_incoming_already_held.js]
disabled = Bug 790463
[test_swap_held_and_active.js]
disabled = Bug 790463
[test_incoming_onstatechange.js]
[test_outgoing_onstatechange.js]
[test_redundant_operations.js]

View File

@ -69,7 +69,7 @@ class B2GAutomation:
# here is where you'd do that. Right now, we just return a list of
# tests
testlist = []
for i in mft.get():
for i in mft.active_tests(exists=False, disabled=False):
testlist.append(i["path"])
return testlist

View File

@ -395,7 +395,7 @@ class MarionetteTestRunner(object):
suite = unittest.TestSuite()
if file_ext == '.ini':
testargs = { 'skip': 'false' }
testargs = {}
if testtype is not None:
testtypes = testtype.replace('+', ' +').replace('-', ' -').split()
for atype in testtypes:
@ -433,9 +433,9 @@ class MarionetteTestRunner(object):
id=os.getenv('BUILD_ID'),
test_date=int(time.time()))
manifest_tests = manifest.get(**testargs)
manifest_tests = manifest.active_tests(disabled=False)
for i in manifest_tests:
for i in manifest.get(tests=manifest_tests, **testargs):
self.run_test(i["path"], testtype)
if self.marionette.check_for_crash():
return