Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore --progress when verbose output is requested #56

Open
gkotian opened this issue Aug 9, 2018 · 0 comments
Open

Ignore --progress when verbose output is requested #56

gkotian opened this issue Aug 9, 2018 · 0 comments
Assignees

Comments

@gkotian
Copy link

gkotian commented Aug 9, 2018

Currently, turtle enforces that the --progress option has not been given if any level of verbosity is desired. This results in the following error on doing make test V=1 if --progress is set in the Makefile:

sed -i '\|^ */project/build/devel/include/Version.d.*$|d' /project/build/devel/tmp/test-appname.mak 
/project/build/devel/tmp/test-appname  --progress=15 
terminated after throwing an uncaught instance of 'object.Exception' at ./submodules/turtle/src/turtle/runner/Runner.d:706
  toString():  enforcement has failed
submodules/makd/Makd.mak:651: recipe for target '/project/build/devel/tmp/test-appname.stamp' failed
make: *** [/project/build/devel/tmp/test-appname.stamp] Aborted (core dumped)

Setting any level of verbosity means that the output is meant for human consumption, so the --progress flag can be completely ignored in this case (even if it has been supplied).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants