def test_src_file(self): expected = file_types.WholeArchive( file_types.StaticLibrary(Path('static', Root.srcdir), self.env.target_platform.object_format, 'c')) self.assertSameFile(link.whole_archive(self.builtin_dict, 'static'), expected)
def test_src_file(self): result = link.whole_archive(self.builtin_dict, 'static') self.assertEqual( result, file_types.WholeArchive( file_types.StaticLibrary(Path('static', Root.srcdir), None)))