diff test/testzcc.py @ 342:86b02c98a717 devel

Moved target directory
author Windel Bouwman
date Sat, 01 Mar 2014 15:40:31 +0100
parents 4d204f6f7d4e
children 3bb7dcfe5529
line wrap: on
line diff
--- a/test/testzcc.py	Fri Feb 28 18:07:14 2014 +0100
+++ b/test/testzcc.py	Sat Mar 01 15:40:31 2014 +0100
@@ -6,7 +6,7 @@
 from ppci.objectfile import ObjectFile
 import ppci
 import io
-import target
+from ppci.target import target_list
 
 # Store testdir for safe switch back to directory:
 testdir = os.path.dirname(os.path.abspath(__file__))
@@ -102,7 +102,7 @@
         """
         f = io.StringIO(src)
         out = ObjectFile()
-        tg = target.target_list.armtarget
+        tg = target_list.armtarget
         tr = ppci.tasks.TaskRunner()
         tr.add_task(ppci.buildtasks.Compile([f], [], tg, out))
         tr.run_tasks()