$ cd /tmp $ bzr branch lp:subunit $ cd subunit $ PYTHONPATH=python ./runtests.py test_close_after_finished_stream_safe (subunit.tests.test_chunked.TestDecode) ... ok test_close_body_buffered_data_errors (subunit.tests.test_chunked.TestDecode) ... ok test_close_body_short_errors (subunit.tests.test_chunked.TestDecode) ... ok test_close_read_length_short_errors (subunit.tests.test_chunked.TestDecode) ... ok test_decode_combines_short (subunit.tests.test_chunked.TestDecode) ... ok test_decode_excess_bytes_from_write (subunit.tests.test_chunked.TestDecode) ... ok test_decode_hex (subunit.tests.test_chunked.TestDecode) ... ok test_decode_long_ranges (subunit.tests.test_chunked.TestDecode) ... ok test_decode_nothing (subunit.tests.test_chunked.TestDecode) ... ok test_decode_serialised_form (subunit.tests.test_chunked.TestDecode) ... ok test_decode_short (subunit.tests.test_chunked.TestDecode) ... ok test_decode_write_after_finished_errors (subunit.tests.test_chunked.TestDecode) ... ok test_encode_combines_short (subunit.tests.test_chunked.TestEncode) ... ok test_encode_empty (subunit.tests.test_chunked.TestEncode) ... ok test_encode_long_ranges_not_combined (subunit.tests.test_chunked.TestEncode) ... ok test_encode_nothing (subunit.tests.test_chunked.TestEncode) ... ok test_encode_over_9_is_in_hex (subunit.tests.test_chunked.TestEncode) ... ok test_encode_short (subunit.tests.test_chunked.TestEncode) ... ok test_get_details (subunit.tests.test_details.TestMultipartDetails) ... ok test_get_message_is_None (subunit.tests.test_details.TestMultipartDetails) ... ok test_parts (subunit.tests.test_details.TestMultipartDetails) ... ok test_get_details (subunit.tests.test_details.TestSimpleDetails) ... ok test_get_details_skip (subunit.tests.test_details.TestSimpleDetails) ... ok test_get_details_success (subunit.tests.test_details.TestSimpleDetails) ... ok test_get_message (subunit.tests.test_details.TestSimpleDetails) ... ok test_lineReceived (subunit.tests.test_details.TestSimpleDetails) ... ok test_lineReceived_escaped_bracket (subunit.tests.test_details.TestSimpleDetails) ... ok test_adjust_width (subunit.tests.test_progress_model.TestProgressModel) ... ok test_adjust_width_adjusts_substack (subunit.tests.test_progress_model.TestProgressModel) ... ok test_adjust_width_preserves_pos (subunit.tests.test_progress_model.TestProgressModel) ... ok test_advance_0_0 (subunit.tests.test_progress_model.TestProgressModel) ... ok test_advance_1_0 (subunit.tests.test_progress_model.TestProgressModel) ... ok test_advance_advances_substack (subunit.tests.test_progress_model.TestProgressModel) ... ok test_new_progress_0_0 (subunit.tests.test_progress_model.TestProgressModel) ... ok test_pop_restores_progress (subunit.tests.test_progress_model.TestProgressModel) ... ok test_push_preserves_progress (subunit.tests.test_progress_model.TestProgressModel) ... ok test_set_width_absolute (subunit.tests.test_progress_model.TestProgressModel) ... ok test_set_width_absolute_preserves_pos (subunit.tests.test_progress_model.TestProgressModel) ... ok test_set_width_adjusts_substack (subunit.tests.test_progress_model.TestProgressModel) ... ok test_calling_time_None_enables_automatic_time (subunit.tests.test_test_results.TestAutoTimingTestResultDecorator) ... ok test_calling_time_inhibits_automatic_time (subunit.tests.test_test_results.TestAutoTimingTestResultDecorator) ... ok test_no_time_from_progress (subunit.tests.test_test_results.TestAutoTimingTestResultDecorator) ... ok test_no_time_from_shouldStop (subunit.tests.test_test_results.TestAutoTimingTestResultDecorator) ... ok test_without_time_calls_time_is_called_and_not_None (subunit.tests.test_test_results.TestAutoTimingTestResultDecorator) ... ok test_addError (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_addError_details (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_addExpectedFailure (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_addExpectedFailure_details (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_addFailure (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_addFailure_details (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_addSkip (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_addSkip_details (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_addSuccess (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_addSuccess_details (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_addUnexpectedSuccess (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_addUnexpectedSuccess_details (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_progress (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_shouldStop (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_startTest (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_startTestRun (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_stop (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_stopTest (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_stopTestRun (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_time (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok test_wasSuccessful (subunit.tests.test_test_results.TestHookedTestResultDecorator) ... ok old mcdonald ... ok bing crosby ... ok test_write (subunit.tests.test_test_protocol.TestDiscardStream) ... ok test_args (subunit.tests.test_test_protocol.TestExecTestCase) ... ok test_construct (subunit.tests.test_test_protocol.TestExecTestCase) ... ok TODO run the child process and count responses to determine the count. ... ok test_debug (subunit.tests.test_test_protocol.TestExecTestCase) ... ok test_join_dir (subunit.tests.test_test_protocol.TestExecTestCase) ... ok test_run (subunit.tests.test_test_protocol.TestExecTestCase) ... ok test__outcome_sets_details_parser (subunit.tests.test_test_protocol.TestInTestMultipart) ... ok test_construct (subunit.tests.test_test_protocol.TestIsolatedTestCase) ... ok test_debug (subunit.tests.test_test_protocol.TestIsolatedTestCase) ... ok test_run (subunit.tests.test_test_protocol.TestIsolatedTestCase) ... ok test_construct (subunit.tests.test_test_protocol.TestIsolatedTestSuite) ... ok test_run (subunit.tests.test_test_protocol.TestIsolatedTestSuite) ... ok test_not_command (subunit.tests.test_test_protocol.TestProtocolServerForward) ... ok test_story (subunit.tests.test_test_protocol.TestProtocolServerForward) ... ok test_empty_constructor (subunit.tests.test_test_protocol.TestRemoteError) ... ok test_eq (subunit.tests.test_test_protocol.TestRemoteError) ... ok test_simple (subunit.tests.test_test_protocol.TestRemotedTestCase) ... ok test_imports (subunit.tests.test_test_protocol.TestTestImports) ... ok Test stopTest on a TestProtocolClient. ... ok Test stopTest on a TestProtocolClient with details. ... ok Test addExpectedFailure on a TestProtocolClient. ... ok Test addExpectedFailure on a TestProtocolClient with details. ... ok Test addFailure on a TestProtocolClient. ... ok Test addFailure on a TestProtocolClient with details. ... ok Test addSkip on a TestProtocolClient. ... ok Test addSkip on a TestProtocolClient with details. ... ok Test addSuccess on a TestProtocolClient. ... ok Test addSuccess on a TestProtocolClient with details. ... ok Test addUnexpectedSuccess on a TestProtocolClient. ... ok Test addUnexpectedSuccess on a TestProtocolClient with details. ... ok test_progress_neg_cur (subunit.tests.test_test_protocol.TestTestProtocolClient) ... ok test_progress_pop (subunit.tests.test_test_protocol.TestTestProtocolClient) ... ok test_progress_pos_cur (subunit.tests.test_test_protocol.TestTestProtocolClient) ... ok test_progress_push (subunit.tests.test_test_protocol.TestTestProtocolClient) ... ok test_progress_set (subunit.tests.test_test_protocol.TestTestProtocolClient) ... ok Test startTest on a TestProtocolClient. ... ok test_stop_test (subunit.tests.test_test_protocol.TestTestProtocolClient) ... ok test_time (subunit.tests.test_test_protocol.TestTestProtocolClient) ... ok test_error_colon_quoted_bracket (subunit.tests.test_test_protocol.TestTestProtocolServerAddError) ... ok test_error_empty_message (subunit.tests.test_test_protocol.TestTestProtocolServerAddError) ... ok test_error_quoted_bracket (subunit.tests.test_test_protocol.TestTestProtocolServerAddError) ... ok test_simple_error (subunit.tests.test_test_protocol.TestTestProtocolServerAddError) ... ok test_simple_error_colon (subunit.tests.test_test_protocol.TestTestProtocolServerAddError) ... ok test_failure_colon_quoted_bracket (subunit.tests.test_test_protocol.TestTestProtocolServerAddFailure) ... ok test_failure_empty_message (subunit.tests.test_test_protocol.TestTestProtocolServerAddFailure) ... ok test_failure_quoted_bracket (subunit.tests.test_test_protocol.TestTestProtocolServerAddFailure) ... ok test_simple_failure (subunit.tests.test_test_protocol.TestTestProtocolServerAddFailure) ... ok test_simple_failure_colon (subunit.tests.test_test_protocol.TestTestProtocolServerAddFailure) ... ok test_simple_skip (subunit.tests.test_test_protocol.TestTestProtocolServerAddSkip) ... ok test_simple_skip_colon (subunit.tests.test_test_protocol.TestTestProtocolServerAddSkip) ... ok test_skip_colon_quoted_bracket (subunit.tests.test_test_protocol.TestTestProtocolServerAddSkip) ... ok test_skip_empty_message (subunit.tests.test_test_protocol.TestTestProtocolServerAddSkip) ... ok test_skip_quoted_bracket (subunit.tests.test_test_protocol.TestTestProtocolServerAddSkip) ... ok test_simple_success (subunit.tests.test_test_protocol.TestTestProtocolServerAddSuccess) ... ok test_simple_success_colon (subunit.tests.test_test_protocol.TestTestProtocolServerAddSuccess) ... ok test_success_colon_quoted_bracket (subunit.tests.test_test_protocol.TestTestProtocolServerAddSuccess) ... ok test_success_empty_message (subunit.tests.test_test_protocol.TestTestProtocolServerAddSuccess) ... ok test_success_quoted_bracket (subunit.tests.test_test_protocol.TestTestProtocolServerAddSuccess) ... ok test_simple_xfail (subunit.tests.test_test_protocol.TestTestProtocolServerAddxFail) ... ok test_simple_xfail_colon (subunit.tests.test_test_protocol.TestTestProtocolServerAddxFail) ... ok test_xfail_colon_quoted_bracket (subunit.tests.test_test_protocol.TestTestProtocolServerAddxFail) ... ok test_xfail_empty_message (subunit.tests.test_test_protocol.TestTestProtocolServerAddxFail) ... ok test_xfail_quoted_bracket (subunit.tests.test_test_protocol.TestTestProtocolServerAddxFail) ... ok test_lost_connected_after_error (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connected_after_failure (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connection_after_start (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connection_after_success (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connection_during_error (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connection_during_error_details (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connection_during_failure (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connection_during_failure_details (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connection_during_skip (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connection_during_skip_details (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connection_during_success (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connection_during_success_details (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connection_during_xfail (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connection_during_xfail_details (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_lost_connection_no_input (subunit.tests.test_test_protocol.TestTestProtocolServerLostConnection) ... ok test_keywords_after_error (subunit.tests.test_test_protocol.TestTestProtocolServerPassThrough) ... ok test_keywords_after_failure (subunit.tests.test_test_protocol.TestTestProtocolServerPassThrough) ... ok test_keywords_after_success (subunit.tests.test_test_protocol.TestTestProtocolServerPassThrough) ... ok test_keywords_after_test (subunit.tests.test_test_protocol.TestTestProtocolServerPassThrough) ... ok test_keywords_before_test (subunit.tests.test_test_protocol.TestTestProtocolServerPassThrough) ... ok test_keywords_during_failure (subunit.tests.test_test_protocol.TestTestProtocolServerPassThrough) ... ok Lines received which cannot be interpreted as any protocol action ... ok test_story (subunit.tests.test_test_protocol.TestTestProtocolServerPipe) ... ok test_progress_accepted_extended (subunit.tests.test_test_protocol.TestTestProtocolServerProgress) ... ok test_progress_accepted_stdlib (subunit.tests.test_test_protocol.TestTestProtocolServerProgress) ... ok test_indented_test_colon_ignored (subunit.tests.test_test_protocol.TestTestProtocolServerStartTest) ... test: old mcdonald ok test_start_test (subunit.tests.test_test_protocol.TestTestProtocolServerStartTest) ... ok test_start_test_colon (subunit.tests.test_test_protocol.TestTestProtocolServerStartTest) ... ok test_start_testing (subunit.tests.test_test_protocol.TestTestProtocolServerStartTest) ... ok test_start_testing_colon (subunit.tests.test_test_protocol.TestTestProtocolServerStartTest) ... ok test_initial_tags (subunit.tests.test_test_protocol.TestTestProtocolServerStreamTags) ... ok test_minus_removes_tags (subunit.tests.test_test_protocol.TestTestProtocolServerStreamTags) ... ok test_tags_do_not_get_set_on_global_tags (subunit.tests.test_test_protocol.TestTestProtocolServerStreamTags) ... ok test_tags_do_not_get_set_on_test (subunit.tests.test_test_protocol.TestTestProtocolServerStreamTags) ... ok test_tags_get_set_on_test_tags (subunit.tests.test_test_protocol.TestTestProtocolServerStreamTags) ... ok test_time_accepted_extended (subunit.tests.test_test_protocol.TestTestProtocolServerStreamTime) ... ok test_time_accepted_stdlib (subunit.tests.test_test_protocol.TestTestProtocolServerStreamTime) ... ok test_bail_out_errors (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_four_tests_in_a_row_no_plan (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_four_tests_in_a_row_trailing_plan (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_four_tests_in_a_row_with_plan (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_leading_comments_add_to_next_test_log (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_missing_test_at_end_with_plan_adds_error (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_missing_test_no_plan_adds_error (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_missing_test_with_plan_adds_error (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_ok_SKIP_skip (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_ok_SKIP_skip_comment (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_ok_TODO_xfail (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_ok_TODO_xfail_comment (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_ok_number_description_SKIP_skip_comment (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_ok_test_description_pass (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_ok_test_number_description_pass (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_ok_test_number_pass (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_ok_test_pass (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_skip_entire_file (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_todo_and_skip (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok test_trailing_comments_are_included_in_last_test_log (subunit.tests.test_tap2subunit.TestTAP2SubUnit) ... ok The default is to exclude success and include everything else. ... ok test_exclude_errors (subunit.tests.test_subunit_filter.TestTestResultFilter) ... ok test_exclude_failure (subunit.tests.test_subunit_filter.TestTestResultFilter) ... ok test_exclude_skips (subunit.tests.test_subunit_filter.TestTestResultFilter) ... ok You can filter by predicate callbacks ... ok Success's can be included if requested. ... ok test_add_tag (subunit.tests.test_subunit_tags.TestSubUnitTags) ... ok test_remove_tag (subunit.tests.test_subunit_tags.TestSubUnitTags) ... ok test_stat_formatting (subunit.tests.test_subunit_stats.TestTestResultStats) ... ok test_stats_empty (subunit.tests.test_subunit_stats.TestTestResultStats) ... ok test_stats_smoke_everything (subunit.tests.test_subunit_stats.TestTestResultStats) ... ok /home/jml/src/subunit/trunk/./shell/tests/test_source_library.sh: line 37: subunit.sh: No such file or directory shell bindings can be sourced ... FAIL subunit_start_test exists ... FAIL subunit_pass_test exists ... FAIL subunit_fail_test exists ... FAIL subunit_error_test exists ... FAIL subunit_skip_test exists ... FAIL /home/jml/src/subunit/trunk/./shell/tests/test_function_output.sh: line 27: subunit.sh: No such file or directory /home/jml/src/subunit/trunk/./shell/tests/test_function_output.sh: line 30: subunit_start_test: command not found /home/jml/src/subunit/trunk/./shell/tests/test_function_output.sh: line 42: subunit_start_test: command not found /home/jml/src/subunit/trunk/./shell/tests/test_function_output.sh: line 43: subunit_pass_test: command not found /home/jml/src/subunit/trunk/./shell/tests/test_function_output.sh: line 55: subunit_start_test: command not found /home/jml/src/subunit/trunk/./shell/tests/test_function_output.sh: line 61: subunit_fail_test: command not found /home/jml/src/subunit/trunk/./shell/tests/test_function_output.sh: line 77: subunit_start_test: command not found /home/jml/src/subunit/trunk/./shell/tests/test_function_output.sh: line 83: subunit_error_test: command not found /home/jml/src/subunit/trunk/./shell/tests/test_function_output.sh: line 92: subunit_fail_test: command not found subunit_start_test output ... FAIL failure: subunit_pass_test output [ got an error code or incorrect output: exit: 127 output: '' ] failure: subunit_fail_test output [ got an error code or incorrect output: exit: 127 output: '' ] ====================================================================== FAIL: shell bindings can be sourced ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ got an error code or output during sourcing.: /home/jml/src/subunit/trunk/./shell/tests/test_source_library.sh: line 26: subunit.sh: No such file or directory ------------ ====================================================================== FAIL: subunit_start_test exists ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ subunit_start_test is not a function: type -t status: 1 output: ------------ ====================================================================== FAIL: subunit_pass_test exists ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ subunit_pass_test is not a function: type -t status: 1 output: ------------ ====================================================================== FAIL: subunit_fail_test exists ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ subunit_fail_test is not a function: type -t status: 1 output: ------------ ====================================================================== FAIL: subunit_error_test exists ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ subunit_error_test is not a function: type -t status: 1 output: ------------ ====================================================================== FAIL: subunit_skip_test exists ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ subunit_skip_test is not a function: type -t status: 1 output: ------------ ====================================================================== FAIL: subunit_start_test output ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ got an error code or incorrect output: exit: 127 output: '' ------------ ---------------------------------------------------------------------- Ran 206 tests in 0.131s FAILED (failures=7)