Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add error reporting to generate_sample.sh on import failure.
Currently tools/conf/generate_sample.sh collect options from project modules by importing each module and looking at it's global variables for instances of classes derived from cfg.Opt (or lists of such instances). Sometimes this import can fail due to various reasons, cfg.DuplicateOptError for example. And if import fails no options from imported module written to sample config file. Error reporting will at least warn user that some of options didn't get into sample config. Change-Id: I831464b1c1575c106d866a936a50ec74b2d44e59 Fixes: bug #1182611
- Loading branch information