Skip to content

Commit

Permalink
Bug 799216 - allow leaving out head/tail entries in xpcshell manifest…
Browse files Browse the repository at this point in the history
…s, r=ted
  • Loading branch information
gijsk committed Apr 30, 2014
1 parent f66449c commit 277a52c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions testing/xpcshell/runxpcshelltests.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,10 @@ def sanitize_list(s, kind):

yield path

return (list(sanitize_list(test_object['head'], 'head')),
list(sanitize_list(test_object['tail'], 'tail')))
headlist = test_object['head'] if 'head' in test_object else ''
taillist = test_object['tail'] if 'tail' in test_object else ''
return (list(sanitize_list(headlist, 'head')),
list(sanitize_list(taillist, 'tail')))

def buildXpcsCmd(self, testdir):
"""
Expand Down

0 comments on commit 277a52c

Please sign in to comment.