| 686 | self.fail_test(1) |
| 687 | |
| 688 | def expect_nothing_more(self): |
| 689 | # Not totally sure about this change, but I do not see a good |
| 690 | # alternative. |
| 691 | if windows: |
| 692 | self.ignore("*.ilk") # MSVC incremental linking files. |
| 693 | self.ignore("*.pdb") # MSVC program database files. |
| 694 | self.ignore("*.rsp") # Response files. |
| 695 | self.ignore("*.tds") # Borland debug symbols. |
| 696 | self.ignore("*.manifest") # MSVC DLL manifests. |
| 697 | |
| 698 | # Debug builds of bjam built with gcc produce this profiling data. |
| 699 | self.ignore("gmon.out") |
| 700 | self.ignore("*/gmon.out") |
| 701 | |
| 702 | # Boost Build's 'configure' functionality (unfinished at the time) |
| 703 | # produces this file. |
| 704 | self.ignore("bin/config.log") |
| 705 | self.ignore("bin/project-cache.jam") |
| 706 | |
| 707 | # Compiled Python files created when running Python based Boost Build. |
| 708 | self.ignore("*.pyc") |
| 709 | |
| 710 | if not self.unexpected_difference.empty(): |
| 711 | annotation("failure", "Unexpected changes found") |
| 712 | output = StringIO.StringIO() |
| 713 | self.unexpected_difference.pprint(output) |
| 714 | annotation("unexpected changes", output.getvalue()) |
| 715 | self.fail_test(1) |
| 716 | |
| 717 | def expect_output_lines(self, lines, expected=True): |
| 718 | self.__expect_lines(self.stdout(), lines, expected) |