commit | 6c8d781c83391eeb8d61460f4d892838aaf47e66 | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Thu Mar 17 15:05:45 2016 +0800 |
committer | Jeremy Kerr <jk@ozlabs.org> | Thu Mar 17 17:17:36 2016 +0800 |
tree | 116c4301363fba6c575a1ac35f1dde1bf35d7de2 | |
parent | 2eb56f552e73dfc6daa85c2191434a69176ab870 [diff] |
config: Add test utility for configuration system When compiled with CONFIG_TEST, the config code will include a little main() function to read configuration from stdin, and print parsed config to stdout. This allows the configuration system to be easily used with a testuite or fuzzer. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>