Skip to content

Commit 5c318a8

Browse files
authored
Merge pull request #82 from jelmer/codespell
Fix spelling errors
2 parents c92b6ca + 7d5de29 commit 5c318a8

File tree

8 files changed

+13
-11
lines changed

8 files changed

+13
-11
lines changed

.codespellrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[codespell]
2+
ignore-words-list = crate,ofo

NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ All the other filters now only parse and emit v2 streams. V2 is still in
335335
draft format, so if you want to delay and wait for v2 to be finalised, you
336336
should use subunit-2to1 before any serialisation steps take place.
337337
With the ability to encapsulate multiple non-test streams, another significant
338-
cange is that filters which emit subunit now encapsulate any non-subunit they
338+
change is that filters which emit subunit now encapsulate any non-subunit they
339339
encounter, labelling it 'stdout'. This permits multiplexing such streams and
340340
detangling the stdout streams from each input.
341341

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ A number of useful things can be done easily with subunit:
4949
can be aggregated into a single stream through a multiplexer.
5050
* Test archiving: A test run may be recorded and replayed later.
5151
* Test isolation: Tests that may crash or otherwise interact badly with each
52-
other can be run seperately and then aggregated, rather than interfering
52+
other can be run separately and then aggregated, rather than interfering
5353
with each other or requiring an adhoc test->runner reporting protocol.
5454
* Grid testing: subunit can act as the necessary serialisation and
5555
deserialiation to get test runs on distributed machines to be reported in
@@ -139,7 +139,7 @@ ways the test framework doesn't apply any semantic value to), file attachments
139139

140140

141141
Version 2, or v2 is new and still under development, but is intended to
142-
supercede version 1 in the very near future. Subunit's bundled tools accept
142+
supersede version 1 in the very near future. Subunit's bundled tools accept
143143
only version 2 and only emit version 2, but the new filters subunit-1to2 and
144144
subunit-2to1 can be used to interoperate with older third party libraries.
145145

@@ -166,7 +166,7 @@ damaged data.
166166
A key design goal for Subunit version 2 is to allow processing and multiplexing
167167
without forcing buffering for semantic correctness, as buffering tends to hide
168168
hung or otherwise misbehaving tests. That said, limited time based buffering
169-
for network efficiency is a good idea - this is ultimately implementator
169+
for network efficiency is a good idea - this is ultimately implementer
170170
choice. Line buffering is also discouraged for subunit streams, as dropping
171171
into a debugger or other tool may require interactive traffic even if line
172172
buffering would not otherwise be a problem.

c/check-subunit-0.9.5.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
+ enable_subunit=false
8585
+ ;;
8686
+ true)
87-
+ AC_MSG_ERROR([The header subunit/child.h could not be succesfully included and is required for subunit protocol support. The homepage for subunit is https://launchpad.net/subunit/])
87+
+ AC_MSG_ERROR([The header subunit/child.h could not be successfully included and is required for subunit protocol support. The homepage for subunit is https://launchpad.net/subunit/])
8888
+ ;;
8989
+ esac
9090
+])
@@ -171,7 +171,7 @@
171171
+
172172
+Check supports running test suites with subunit output. This can be useful to
173173
+combine test results from multiple languages, or to perform programmatic
174-
+analysis on the results of multiple check test suites or otherise handle test
174+
+analysis on the results of multiple check test suites or otherwise handle test
175175
+results in a programmatic manner. Using subunit with check is very straight
176176
+forward. There are two steps:
177177
+1) In your check test suite driver pass 'CK_SUBUNIT' as the output mode

c/check-subunit-0.9.6.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
+ enable_subunit=false
7878
+ ;;
7979
+ true)
80-
+ AC_MSG_ERROR([The header subunit/child.h could not be succesfully included and is required for subunit protocol support. The homepage for subunit is https://launchpad.net/subunit/])
80+
+ AC_MSG_ERROR([The header subunit/child.h could not be successfully included and is required for subunit protocol support. The homepage for subunit is https://launchpad.net/subunit/])
8181
+ ;;
8282
+ esac
8383
+])
@@ -164,7 +164,7 @@
164164
+
165165
+Check supports running test suites with subunit output. This can be useful to
166166
+combine test results from multiple languages, or to perform programmatic
167-
+analysis on the results of multiple check test suites or otherise handle test
167+
+analysis on the results of multiple check test suites or otherwise handle test
168168
+results in a programmatic manner. Using subunit with check is very straight
169169
+forward. There are two steps:
170170
+1) In your check test suite driver pass 'CK_SUBUNIT' as the output mode

python/subunit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ def __eq__(self, other):
851851
return False
852852

853853
def __init__(self, description):
854-
"""Create a psuedo test case with description description."""
854+
"""Create a pseudo test case with description description."""
855855
self.__description = description
856856

857857
def error(self, label):

python/subunit/filter_scripts/subunit_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def make_options(description):
101101
"--rename",
102102
action="append",
103103
nargs=2,
104-
help="Apply specified regex subsitutions to test names.",
104+
help="Apply specified regex substitutions to test names.",
105105
dest="renames",
106106
default=[],
107107
)

python/subunit/v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ class ByteStreamToStreamResult(object):
257257
"""Parse a subunit byte stream.
258258
259259
Mixed streams that contain non-subunit content is supported when a
260-
non_subunit_name is passed to the contructor. The default is to raise an
260+
non_subunit_name is passed to the constructor. The default is to raise an
261261
error containing the non-subunit byte after it has been read from the
262262
stream.
263263

0 commit comments

Comments
 (0)