Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- testAddTaskRunNextTest (__main__.XPCShellTestsTests) ... FAIL
- testAddTaskStackTrace (__main__.XPCShellTestsTests) ... FAIL
- testAddTaskStackTraceWithoutStar (__main__.XPCShellTestsTests) ... FAIL
- testAddTaskTestFailureInside (__main__.XPCShellTestsTests) ... FAIL
- testAddTaskTestMultiple (__main__.XPCShellTestsTests) ... ok
- testAddTaskTestRejected (__main__.XPCShellTestsTests) ... FAIL
- testAddTaskTestSingle (__main__.XPCShellTestsTests) ... ok
- testAddTestFailing (__main__.XPCShellTestsTests) ... FAIL
- testAddTestSimple (__main__.XPCShellTestsTests) ... ok
- testAsyncCleanup (__main__.XPCShellTestsTests) ... FAIL
- testChild (__main__.XPCShellTestsTests) ... ok
- testChildFail (__main__.XPCShellTestsTests) ... FAIL
- testChildHang (__main__.XPCShellTestsTests) ... FAIL
- testChildPass (__main__.XPCShellTestsTests) ... FAIL
- testDoReportForeignObject (__main__.XPCShellTestsTests) ... FAIL
- testDoReportNonSyntaxError (__main__.XPCShellTestsTests) ... FAIL
- testDoReportRefError (__main__.XPCShellTestsTests) ... FAIL
- testDoReportSyntaxError (__main__.XPCShellTestsTests) ... FAIL
- testDoThrowForeignObject (__main__.XPCShellTestsTests) ... FAIL
- testDoThrowString (__main__.XPCShellTestsTests) ... FAIL
- testFail (__main__.XPCShellTestsTests) ... FAIL
- testHangingTimeout (__main__.XPCShellTestsTests) ... FAIL
- testKnownFail (__main__.XPCShellTestsTests) ... FAIL
- testLogCorrectFileName (__main__.XPCShellTestsTests) ... FAIL
- testMissingHeadFile (__main__.XPCShellTestsTests) ... ok
- testMissingTailFile (__main__.XPCShellTestsTests) ... ok
- testPass (__main__.XPCShellTestsTests) ... ok
- testPassFail (__main__.XPCShellTestsTests) ... FAIL
- testRandomExecution (__main__.XPCShellTestsTests) ... ok
- testReturnNonzero (__main__.XPCShellTestsTests) ... FAIL
- testSkip (__main__.XPCShellTestsTests) ... ok
- testSyntaxError (__main__.XPCShellTestsTests) ... FAIL
- testUnexpectedPass (__main__.XPCShellTestsTests) ... ok
- testUnicodeInAssertMethods (__main__.XPCShellTestsTests) ... ok
- ======================================================================
- FAIL: testAddTaskRunNextTest (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 710, in testAddTaskRunNextTest
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_add_task_run_next_test.js
- TEST-PASS | test_add_task_run_next_test.js | took 145ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testAddTaskStackTrace (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 724, in testAddTaskStackTrace
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_add_task_stack_trace.js
- TEST-PASS | test_add_task_stack_trace.js | took 116ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testAddTaskStackTraceWithoutStar (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 740, in testAddTaskStackTraceWithoutStar
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_add_task_stack_trace_without_star.js
- TEST-PASS | test_add_task_stack_trace_without_star.js | took 189ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testAddTaskTestFailureInside (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 697, in testAddTaskTestFailureInside
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_add_task_failure_inside.js
- TEST-PASS | test_add_task_failure_inside.js | took 120ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testAddTaskTestRejected (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 684, in testAddTaskTestRejected
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_add_task_rejected.js
- TEST-PASS | test_add_task_rejected.js | took 115ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testAddTestFailing (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 646, in testAddTestFailing
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_add_test_failing.js
- TEST-PASS | test_add_test_failing.js | took 120ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testAsyncCleanup (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 890, in testAsyncCleanup
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_asyncCleanup.js
- TEST-PASS | test_asyncCleanup.js | took 118ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testChildFail (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 438, in testChildFail
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_child_fail.js
- TEST-PASS | test_child_fail.js | took 117ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testChildHang (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 459, in testChildHang
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_child_hang.js
- TEST-PASS | test_child_hang.js | took 126ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testChildPass (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 423, in testChildPass
- self.assertInLog("CHILD-TEST-STARTED")
- File "testing/xpcshell/selftest.py", line 369, in assertInLog
- self._assertLog(s, True)
- File "testing/xpcshell/selftest.py", line 363, in _assertLog
- ========""" % (s, "expected" if expected else "not expected", l))
- AssertionError: Value CHILD-TEST-STARTED expected in log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_child_pass.js
- test_child_pass.js | full command: ['/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell', '-g', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', '-a', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', '-r', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/httpd.manifest', '-m', '-s', '-e', 'const _HTTPD_JS_PATH = "/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/httpd.js";', '-e', 'const _HEAD_JS_PATH = "/opt/mozilla-central/testing/xpcshell/head.js";', '-e', 'const _TESTING_MODULES_DIR = "/opt/mozilla-central/testing/modules/";', '-f', '/opt/mozilla-central/testing/xpcshell/head.js', '-e', 'const _SERVER_ADDR = "localhost"', '-e', 'const _HEAD_FILES = [];', '-e', 'const _TAIL_FILES = [];', '-e', 'const _JSDEBUGGER_PORT = 0;', '-e', 'const _TEST_FILE = ["/tmp/tmpbfw65v/test_child_pass.js"];', '-e', 'const _TEST_NAME = "test_child_pass.js"', '-e', '_execute_test(); quit(0);']
- test_child_pass.js | current directory: '/tmp/tmpbfw65v'
- test_child_pass.js | environment: ['XPCOM_DEBUG_BREAK=stack-and-abort', 'MOZ_CRASHREPORTER=1', 'LD_LIBRARY_PATH=/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', 'XPCSHELL_TEST_PROFILE_DIR=/tmp/tmpJvC7Mp', 'MOZ_DISABLE_NONLOCAL_CONNECTIONS=1', 'XPCSHELL_TEST_TEMP_DIR=/tmp/tmpUcwRiA', 'MOZ_CRASHREPORTER_NO_REPORT=1']
- TEST-PASS | test_child_pass.js | took 94ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testDoReportForeignObject (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 834, in testDoReportForeignObject
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_error.js
- TEST-PASS | test_error.js | took 114ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testDoReportNonSyntaxError (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 877, in testDoReportNonSyntaxError
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_error.js
- TEST-PASS | test_error.js | took 105ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testDoReportRefError (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 849, in testDoReportRefError
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_error.js
- TEST-PASS | test_error.js | took 102ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testDoReportSyntaxError (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 864, in testDoReportSyntaxError
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_error.js
- TEST-PASS | test_error.js | took 93ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testDoThrowForeignObject (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 818, in testDoThrowForeignObject
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_error.js
- TEST-PASS | test_error.js | took 90ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testDoThrowString (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 804, in testDoThrowString
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_error.js
- TEST-PASS | test_error.js | took 84ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testFail (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 399, in testFail
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_basic.js
- TEST-PASS | test_basic.js | took 90ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testHangingTimeout (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 525, in testHangingTimeout
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_loop.js
- TEST-PASS | test_loop.js | took 102ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testKnownFail (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 572, in testKnownFail
- self.assertTestResult(True)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have passed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_basic.js
- TEST-UNEXPECTED-PASS | test_basic.js | xpcshell return code: 0
- TEST-INFO expected FAIL | took 100ms
- INFO | Result summary:
- INFO | Passed: 0
- INFO | Failed: 1
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testLogCorrectFileName (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 635, in testLogCorrectFileName
- self.assertInLog("true == true")
- File "testing/xpcshell/selftest.py", line 369, in assertInLog
- self._assertLog(s, True)
- File "testing/xpcshell/selftest.py", line 363, in _assertLog
- ========""" % (s, "expected" if expected else "not expected", l))
- AssertionError: Value true == true expected in log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_add_test_simple.js
- test_add_test_simple.js | full command: ['/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell', '-g', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', '-a', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', '-r', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/httpd.manifest', '-m', '-s', '-e', 'const _HTTPD_JS_PATH = "/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/httpd.js";', '-e', 'const _HEAD_JS_PATH = "/opt/mozilla-central/testing/xpcshell/head.js";', '-e', 'const _TESTING_MODULES_DIR = "/opt/mozilla-central/testing/modules/";', '-f', '/opt/mozilla-central/testing/xpcshell/head.js', '-e', 'const _SERVER_ADDR = "localhost"', '-e', 'const _HEAD_FILES = [];', '-e', 'const _TAIL_FILES = [];', '-e', 'const _JSDEBUGGER_PORT = 0;', '-e', 'const _TEST_FILE = ["/tmp/tmpxGqeIe/test_add_test_simple.js"];', '-e', 'const _TEST_NAME = "test_add_test_simple.js"', '-e', '_execute_test(); quit(0);']
- test_add_test_simple.js | current directory: '/tmp/tmpxGqeIe'
- test_add_test_simple.js | environment: ['XPCOM_DEBUG_BREAK=stack-and-abort', 'MOZ_CRASHREPORTER=1', 'LD_LIBRARY_PATH=/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', 'XPCSHELL_TEST_PROFILE_DIR=/tmp/tmpDmPitS', 'MOZ_DISABLE_NONLOCAL_CONNECTIONS=1', 'XPCSHELL_TEST_TEMP_DIR=/tmp/tmpbqR6xb', 'MOZ_CRASHREPORTER_NO_REPORT=1']
- TEST-PASS | test_add_test_simple.js | took 107ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testPassFail (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 542, in testPassFail
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 2 tests
- TEST-START | test_pass.js
- TEST-PASS | test_pass.js | took 112ms
- TEST-START | test_fail.js
- TEST-PASS | test_fail.js | took 125ms
- INFO | Result summary:
- INFO | Passed: 2
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testReturnNonzero (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 606, in testReturnNonzero
- self.assertTestResult(False)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_error.js
- TEST-PASS | test_error.js | took 124ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ======================================================================
- FAIL: testSyntaxError (__main__.XPCShellTestsTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "testing/xpcshell/selftest.py", line 496, in testSyntaxError
- self.assertTestResult(False, verbose=True)
- File "testing/xpcshell/selftest.py", line 355, in assertTestResult
- """ % ("passed" if expected else "failed", self.log.getvalue()))
- AssertionError: Tests should have failed, log:
- ========
- Running tests sequentially.
- SUITE-START | Running 1 tests
- TEST-START | test_syntax_error.js
- test_syntax_error.js | full command: ['/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell', '-g', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', '-a', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', '-r', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/httpd.manifest', '-m', '-s', '-e', 'const _HTTPD_JS_PATH = "/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/httpd.js";', '-e', 'const _HEAD_JS_PATH = "/opt/mozilla-central/testing/xpcshell/head.js";', '-e', 'const _TESTING_MODULES_DIR = "/opt/mozilla-central/testing/modules/";', '-f', '/opt/mozilla-central/testing/xpcshell/head.js', '-e', 'const _SERVER_ADDR = "localhost"', '-e', 'const _HEAD_FILES = [];', '-e', 'const _TAIL_FILES = [];', '-e', 'const _JSDEBUGGER_PORT = 0;', '-e', 'const _TEST_FILE = ["/tmp/tmpAxWWX1/test_syntax_error.js"];', '-e', 'const _TEST_NAME = "test_syntax_error.js"', '-e', '_execute_test(); quit(0);']
- test_syntax_error.js | current directory: '/tmp/tmpAxWWX1'
- test_syntax_error.js | environment: ['XPCOM_DEBUG_BREAK=stack-and-abort', 'MOZ_CRASHREPORTER=1', 'XPCSHELL_TEST_TEMP_DIR=/tmp/tmpe7TuCd', 'LD_LIBRARY_PATH=/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', 'MOZ_DISABLE_NONLOCAL_CONNECTIONS=1', 'XPCSHELL_TEST_PROFILE_DIR=/tmp/tmpIwwe6G', 'MOZ_CRASHREPORTER_NO_REPORT=1']
- TEST-PASS | test_syntax_error.js | took 116ms
- INFO | Result summary:
- INFO | Passed: 1
- INFO | Failed: 0
- INFO | Todo: 0
- INFO | Retried: 0
- SUITE-END | took 0s
- ========
- ----------------------------------------------------------------------
- Ran 34 tests in 4.959s
- FAILED (failures=23)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement