2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 00:12:11 +00:00

Minor sylistic changes - trimmed trailing spaces.

[SVN r78890]
This commit is contained in:
Jurko Gospodnetić
2012-06-11 12:54:29 +00:00
parent 34b5b33315
commit e636d36fa4

View File

@@ -31,7 +31,7 @@ annotations = []
def print_annotation(name, value, xml):
"""Writes some named bits of information about test run.
"""
if xml:
if xml:
print escape(name) + " {{{"
print escape(value)
print "}}}"
@@ -39,7 +39,7 @@ def print_annotation(name, value, xml):
print name + " {{{"
print value
print "}}}"
def flush_annotations(xml=0):
global annotations
for ann in annotations:
@@ -121,7 +121,7 @@ def prepare_suffix_map(toolset):
suffixes['.implib'] = '.lib'
if os.__dict__.has_key('uname') and (os.uname()[0] == 'Darwin'):
suffixes['.dll'] = '.dylib'
lib_prefix = "lib"
dll_prefix = "lib"
if cygwin:
@@ -391,7 +391,7 @@ class Tester(TestCmd.TestCmd):
def rm(self, names):
if not type(names) == types.ListType:
names = [names]
if names == ["."]:
# If we're deleting the entire workspace, there's no
# need to wait for a clock tick.
@@ -490,7 +490,7 @@ class Tester(TestCmd.TestCmd):
annotation("failure", '"%s" returned %d%s'
% (kw['program'], _status(self), expect))
annotation("reason", "unexpected status returned by bjam")
self.fail_test(1)
@@ -517,7 +517,7 @@ class Tester(TestCmd.TestCmd):
self.fail_test(1, dump_stdio=False)
if not expected_duration is None:
actual_duration = self.last_build_time_finish - self.last_build_time_start
actual_duration = self.last_build_time_finish - self.last_build_time_start
if (actual_duration > expected_duration):
print "Test run lasted %f seconds while it was expected to " \
"finish in under %f seconds." % (actual_duration,
@@ -700,7 +700,7 @@ class Tester(TestCmd.TestCmd):
self.ignore('*.pdb') # MSVC program database files.
self.ignore('*.rsp') # Response files.
self.ignore('*.tds') # Borland debug symbols.
self.ignore('*.manifest') # MSVC DLL manifests.
self.ignore('*.manifest') # MSVC DLL manifests.
# Debug builds of bjam built with gcc produce this profiling data.
self.ignore('gmon.out')