Mercurial > lcfOS
comparison user/makeuser.py @ 311:ff665880a6b0
Added testcase for kernel and userspace
author | Windel Bouwman |
---|---|
date | Mon, 16 Dec 2013 12:49:24 +0100 |
parents | |
children | 04cf4d26a3bc |
comparison
equal
deleted
inserted
replaced
310:e95e5572cd6d | 311:ff665880a6b0 |
---|---|
1 #!/usr/bin/env python | |
2 | |
3 import sys | |
4 import os | |
5 import zcc | |
6 | |
7 def make_user(): | |
8 arglist = ['lib.c3', 'ipc.c3', 'hello.c3'] | |
9 arglist += ['--target', 'arm'] | |
10 arglist += ['--dumpasm', '--dumpir'] | |
11 arglist += ['--log', 'debug'] | |
12 | |
13 args = zcc.parser.parse_args(arglist) | |
14 zcc.main(args) | |
15 | |
16 if __name__ == '__main__': | |
17 sys.path.insert(0, os.path.join('..', 'python')) | |
18 make_user() |