Commit bf1b75b9 authored by yoogx's avatar yoogx
Browse files

* Use correct package name for import

parent 67036c85
......@@ -11,11 +11,11 @@ def printError(source, messages):
def main(argv):
'''Test function'''
import OcarinaPython as ocarina
import ocarina;
aadlFiles = ''
root = ''
opts, args = getopt.getopt(argv,"ha:r:",["aadlFiles=","root="])
except getopt.GetoptError:
......@@ -40,13 +40,13 @@ def main(argv):
print 'At least one aadl file shall be loaded. Usage is:'
print ' -a <aadlfile>[,<aadlfile>]* -r <root object>'
for aadlFile in aadlFiles:
err = ocarina.load(aadlFile)
if err[3]!=[]:
printError('ocarina.load('+aadlFile+')', err[3])
err = ocarina.analyze()
err = ocarina.analyze()
if err[3]!=[]:
printError('ocarina.analyze()', err[3])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment