From: Philippe Proulx Date: Wed, 12 Nov 2014 07:43:49 +0000 (-0500) Subject: Add a few steps X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a3770d3089d0ac6e30ef90c089a99fd47226b127;p=deliverable%2Fbarectf.git Add a few steps --- diff --git a/barectf/cli.py b/barectf/cli.py index d55c9f1..acb4401 100644 --- a/barectf/cli.py +++ b/barectf/cli.py @@ -31,7 +31,7 @@ import re def _perror(msg, exit_code=1): - cprint('Error: {}'.format(msg), 'red', attrs=['bold'], file=sys.stderr) + cprint('error: {}'.format(msg), 'red', attrs=['bold'], file=sys.stderr) sys.exit(exit_code) @@ -1560,9 +1560,16 @@ class BarectfCodeGenerator: self._set_params() # generate header - _pinfo('generating barectf header file') + _pinfo('generating barectf header files') self._gen_barectf_header() + # generate C source file + if not self._static_inline: + _pinfo('generating barectf translation unit') + pass + + _psuccess('done') + def run(): args = _parse_args()