diff test/testarmasm.py @ 335:582a1aaa3983

Added long branch format
author Windel Bouwman
date Mon, 17 Feb 2014 20:41:30 +0100
parents 44f336460c2a
children c7cc54c0dfdf
line wrap: on
line diff
--- a/test/testarmasm.py	Thu Feb 13 22:02:08 2014 +0100
+++ b/test/testarmasm.py	Mon Feb 17 20:41:30 2014 +0100
@@ -1,5 +1,6 @@
 import unittest
 import outstream
+from ppci.objectfile import ObjectFile
 from asm import Assembler
 from testasm import AsmTestCaseBase
 from target.target_list import armtarget
@@ -8,7 +9,8 @@
 class AssemblerARMTestCase(AsmTestCaseBase):
     def setUp(self):
         self.t = armtarget
-        self.o = outstream.BinOutputStream()
+        self.obj = ObjectFile()
+        self.o = outstream.BinaryOutputStream(self.obj)
         self.o.selectSection('.text')
         self.a = Assembler(target=self.t, stream=self.o)