| Index: test/test262/testcfg.py
|
| diff --git a/test/test262/testcfg.py b/test/test262/testcfg.py
|
| index 6319feb13c2e0a23006d45669f05077c7ff8655c..d8123968fca0578e35855b0192e580944322656f 100644
|
| --- a/test/test262/testcfg.py
|
| +++ b/test/test262/testcfg.py
|
| @@ -194,8 +194,9 @@ class Test262TestSuite(testsuite.TestSuite):
|
| test_record = self.GetTestRecord(testcase)
|
| if output.exit_code != 0:
|
| return True
|
| - if "negative" in test_record:
|
| - if self._ParseException(output.stdout) != test_record["negative"]:
|
| + if "negative" in test_record and \
|
| + "type" in test_record["negative"] and \
|
| + self._ParseException(output.stdout) != test_record["negative"]["type"]:
|
| return True
|
| return "FAILED!" in output.stdout
|
|
|
|
|