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

Fixes for NT

[SVN r17704]
This commit is contained in:
Dave Abrahams
2003-03-03 16:12:38 +00:00
parent caa491f503
commit 67102d1ef5
2 changed files with 14 additions and 2 deletions

View File

@@ -338,7 +338,7 @@ class Tester(TestCmd.TestCmd):
# We need to check in both touched and modified files if
# it's a Windows exe because they sometimes have slight
# differences even with identical inputs
if name.endswith('.exe'):
if windows:
filesets = [d.modified_files, d.touched_files]
else:
filesets = [d.touched_files]
@@ -381,6 +381,12 @@ class Tester(TestCmd.TestCmd):
self.fail_test(1)
def expect_nothing_more(self):
# not totally sure about this change, but I don't see a good alternative
if windows:
self.ignore('*.pdb')
self.ignore('*.rsp')
if not self.unexpected_difference.empty():
print "Expected nothing more, but got the following:"
self.unexpected_difference.pprint()

View File

@@ -338,7 +338,7 @@ class Tester(TestCmd.TestCmd):
# We need to check in both touched and modified files if
# it's a Windows exe because they sometimes have slight
# differences even with identical inputs
if name.endswith('.exe'):
if windows:
filesets = [d.modified_files, d.touched_files]
else:
filesets = [d.touched_files]
@@ -381,6 +381,12 @@ class Tester(TestCmd.TestCmd):
self.fail_test(1)
def expect_nothing_more(self):
# not totally sure about this change, but I don't see a good alternative
if windows:
self.ignore('*.pdb')
self.ignore('*.rsp')
if not self.unexpected_difference.empty():
print "Expected nothing more, but got the following:"
self.unexpected_difference.pprint()