diff --git a/test.py b/test.py index 82ee8fbf1..1b920ec34 100755 --- a/test.py +++ b/test.py @@ -38,9 +38,9 @@ except ImportError: # XXX This should really be part of a waf command to list the configuration # items relative to optional ns-3 pieces. # -# A list of interesting configuration items in the waf configuration +# A list of interesting configuration items in the waf configuration # cache which we may be interested in when deciding on which examples -# to run and how to run them. These are set by waf during the +# to run and how to run them. These are set by waf during the # configuration phase and the corresponding assignments are usually # found in the associated subdirectory wscript files. # @@ -114,7 +114,7 @@ core_valgrind_skip_tests = [ "lte-pss-ff-mac-scheduler", ] -# +# # There are some special cases for test suites that fail when NSC is # missing. # @@ -189,7 +189,7 @@ def parse_examples_to_run_file( # Add this example. example_tests.append((example_name, example_path, do_run, do_valgrind_run)) example_names_original.append(example_name_original) - + # Each tuple in the Python list of examples to run contains # # (example_name, do_run) @@ -231,7 +231,7 @@ def parse_examples_to_run_file( # concurrently. This means that unless we are careful, the output of # the test suites will be interleaved. Rather than introducing a lock # file that could unintentionally start serializing execution, we ask -# the tests to write their output to a temporary directory and then +# the tests to write their output to a temporary directory and then # put together the final output file when we "join" the test tasks back # to the main thread. In addition to this issue, the example programs # often write lots and lots of trace files which we will just ignore. @@ -254,14 +254,14 @@ def read_test(test): return (result, name, reason, time_real) # -# A simple example of writing a text file with a test result summary. It is +# A simple example of writing a text file with a test result summary. It is # expected that this output will be fine for developers looking for problems. # def node_to_text (test, f): (result, name, reason, time_real) = read_test(test) if reason: reason = " (%s)" % reason - + output = "%s: Test Suite \"%s\" (%s)%s\n" % (result, name, time_real, reason) f.write(output) for details in test.findall('FailureDetails'): @@ -296,9 +296,9 @@ def translate_to_text(results_file, text_file): f.close() print('done.') - + # -# A simple example of writing an HTML file with a test result summary. It is +# A simple example of writing an HTML file with a test result summary. It is # expected that this will eventually be made prettier as time progresses and # we have time to tweak it. This may end up being moved to a separate module # since it will probably grow over time. @@ -321,14 +321,14 @@ def translate_to_html(results_file, html_file): # Iterate through the test suites # f.write("