b2804e1c07ec1c3a5627364b2c6f26a2826c1432
[bertos.git] / wizard / test / testCpuTagsImport.py
1 #!/usr/bin/env python
2 # encoding: utf-8
3 #
4 # Copyright 2009 Develer S.r.l. (http://www.develer.com/)
5 # All rights reserved.
6 #
7 # $Id:$
8 #
9 # Author: Lorenzo Berni <duplo@develer.com>
10 #
11
12 import sys
13 import os
14
15
16 sys.path.append("../")
17
18 from BProject import BProject
19 from bertos_utils import *
20
21 def main():
22     p = BProject()
23     p.setInfo("SOURCES_PATH", "../../")
24     loadSourceTree(p)
25     info = loadCpuInfos(p)
26     tags = getTagSet(info)
27     print tags
28
29
30 if __name__ == '__main__':
31     main()
32