Add test for tag import
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 16 Apr 2009 17:47:56 +0000 (17:47 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 16 Apr 2009 17:47:56 +0000 (17:47 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2523 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/test/testCpuTagsImport.py [new file with mode: 0644]

diff --git a/wizard/test/testCpuTagsImport.py b/wizard/test/testCpuTagsImport.py
new file mode 100644 (file)
index 0000000..b2804e1
--- /dev/null
@@ -0,0 +1,32 @@
+#!/usr/bin/env python
+# encoding: utf-8
+#
+# Copyright 2009 Develer S.r.l. (http://www.develer.com/)
+# All rights reserved.
+#
+# $Id:$
+#
+# Author: Lorenzo Berni <duplo@develer.com>
+#
+
+import sys
+import os
+
+
+sys.path.append("../")
+
+from BProject import BProject
+from bertos_utils import *
+
+def main():
+    p = BProject()
+    p.setInfo("SOURCES_PATH", "../../")
+    loadSourceTree(p)
+    info = loadCpuInfos(p)
+    tags = getTagSet(info)
+    print tags
+
+
+if __name__ == '__main__':
+    main()
+