From 51763eecdb1d32430d6299ffffef3bc2088b282a Mon Sep 17 00:00:00 2001 From: duplo Date: Thu, 16 Apr 2009 17:47:56 +0000 Subject: [PATCH] Add test for tag import git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2523 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/test/testCpuTagsImport.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 wizard/test/testCpuTagsImport.py 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() + -- 2.25.1