From: duplo Date: Thu, 16 Apr 2009 17:47:56 +0000 (+0000) Subject: Add test for tag import X-Git-Tag: 2.1.0~159 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=51763eecdb1d32430d6299ffffef3bc2088b282a;p=bertos.git Add test for tag import git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2523 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/test/testCpuTagsImport.py b/wizard/test/testCpuTagsImport.py new file mode 100644 index 00000000..b2804e1c --- /dev/null +++ b/wizard/test/testCpuTagsImport.py @@ -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 +# + +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() +