Lines Matching full:expected
95 def write(self, expected, actual): argument
96 self.linker_script.fill(expected)
97 self.linker_script.write(open('expected.ld', 'w'))
119 def compare_rules(self, expected, actual): argument
120 self.assertEqual(set(expected.keys()), set(actual.keys()))
125 e_cmds = expected[target]
143 expected = self.generate_default_rules()
145 self.compare_rules(expected, actual)
254 expected = self.generate_default_rules()
256 flash_text = expected['flash_text']
257 flash_rodata = expected['flash_rodata']
258 iram0_text = expected['iram0_text']
259 dram0_data = expected['dram0_data']
269 self.compare_rules(expected, actual)
292 expected = self.generate_default_rules()
294 flash_text = expected['flash_text']
295 flash_rodata = expected['flash_rodata']
296 iram0_text = expected['iram0_text']
297 dram0_data = expected['dram0_data']
307 self.compare_rules(expected, actual)
331 expected = self.generate_default_rules()
333 flash_text = expected['flash_text']
334 iram0_text = expected['iram0_text']
354 self.compare_rules(expected, actual)
387 expected = self.generate_default_rules()
389 flash_text = expected['flash_text']
390 flash_rodata = expected['flash_rodata']
391 iram0_text = expected['iram0_text']
392 dram0_data = expected['dram0_data']
416 self.compare_rules(expected, actual)
448 expected = self.generate_default_rules()
450 flash_text = expected['flash_text']
451 flash_rodata = expected['flash_rodata']
452 iram0_text = expected['iram0_text']
453 dram0_data = expected['dram0_data']
475 self.compare_rules(expected, actual)
517 expected = self.generate_default_rules()
519 flash_text = expected['flash_text']
520 flash_rodata = expected['flash_rodata']
521 iram0_text = expected['iram0_text']
522 dram0_data = expected['dram0_data']
551 self.compare_rules(expected, actual)
611 expected = self.generate_default_rules()
613 flash_text = expected['flash_text']
614 iram0_text = expected['iram0_text']
636 self.compare_rules(expected, actual)
662 expected = self.generate_default_rules()
667 expected['iram0_text'].append(expected['iram0_text'][0])
668 expected['iram0_text'][0] = InputSectionDesc(ROOT, ['.custom_section'], [])
670 self.compare_rules(expected, actual)
710 expected = self.generate_default_rules()
712 flash_text = expected['flash_text']
713 flash_rodata = expected['flash_rodata']
714 iram0_text = expected['iram0_text']
715 dram0_data = expected['dram0_data']
729 self.compare_rules(expected, actual)
764 expected = self.generate_default_rules()
766 flash_text = expected['flash_text']
767 flash_rodata = expected['flash_rodata']
768 iram0_text = expected['iram0_text']
769 dram0_data = expected['dram0_data']
783 self.compare_rules(expected, actual)
857 expected = self.generate_default_rules()
859 flash_text = expected['flash_text']
860 flash_rodata = expected['flash_rodata']
861 dram0_data = expected['dram0_data']
862 iram0_text = expected['iram0_text']
863 dram0_bss = expected['dram0_bss']
864 rtc_text = expected['rtc_text']
865 rtc_data = expected['rtc_data']
866 rtc_bss = expected['rtc_bss']
918 self.compare_rules(expected, actual)
946 expected = self.generate_default_rules()
948 flash_text = expected['flash_text']
949 flash_rodata = expected['flash_rodata']
950 iram0_text = expected['iram0_text']
951 dram0_data = expected['dram0_data']
969 self.compare_rules(expected, actual)
1043 expected = self.generate_default_rules()
1045 flash_text = expected['flash_text']
1046 iram0_text = expected['iram0_text']
1071 self.compare_rules(expected, actual)
1098 expected = self.generate_default_rules()
1100 flash_text = expected['flash_text']
1101 iram0_text = expected['iram0_text']
1121 self.compare_rules(expected, actual)
1167 expected = self.generate_default_rules()
1172 expected['iram0_text'].append(expected['iram0_text'][0])
1173 expected['iram0_text'][0] = InputSectionDesc(ROOT, ['.custom_section'], [])
1175 self.compare_rules(expected, actual)
1212 expected = self.generate_default_rules()
1215 flash_text = expected['flash_text']
1216 iram0_text = expected['iram0_text']
1220 flash_rodata = expected['flash_rodata']
1221 dram0_data = expected['dram0_data']
1225 self.compare_rules(expected, actual)
1263 expected = self.generate_default_rules()
1267 flash_text = expected['flash_text']
1268 flash_rodata = expected['flash_rodata']
1269 iram0_text = expected['iram0_text']
1270 dram0_data = expected['dram0_data']
1280 self.compare_rules(expected, actual)
1441 expected = self.generate_default_rules()
1443 flash_text = expected['flash_text']
1444 iram0_text = expected['iram0_text']
1445 flash_rodata = expected['flash_rodata']
1471 self.compare_rules(expected, actual)
1504 expected = self.generate_default_rules()
1506 flash_text = expected['flash_text']
1507 iram0_text = expected['iram0_text']
1532 self.compare_rules(expected, actual)
1561 expected = self.generate_default_rules()
1563 flash_text = expected['flash_text']
1564 iram0_text = expected['iram0_text']
1589 self.compare_rules(expected, actual)
1617 expected = self.generate_default_rules()
1619 flash_text = expected['flash_text']
1620 iram0_text = expected['iram0_text']
1641 self.compare_rules(expected, actual)
1674 expected = self.generate_default_rules()
1676 flash_text = expected['flash_text']
1677 iram0_text = expected['iram0_text']
1702 self.compare_rules(expected, actual)
1731 expected = self.generate_default_rules()
1733 flash_text = expected['flash_text']
1734 iram0_text = expected['iram0_text']
1759 self.compare_rules(expected, actual)
1775 expected = self.generate_default_rules()
1777 flash_text = expected['flash_text']
1780 self.compare_rules(expected, actual)
1802 expected = self.generate_default_rules()
1804 flash_text = expected['flash_text']
1807 self.compare_rules(expected, actual)