From 8e61960012442cde1311099232c2ee412dccea2f Mon Sep 17 00:00:00 2001 From: "Peter D. Barnes, Jr." Date: Tue, 5 Jul 2016 15:18:47 -0700 Subject: [PATCH] [core] Sort configuration report --- wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wscript b/wscript index 7da436a8d..5f35f2a3c 100644 --- a/wscript +++ b/wscript @@ -495,7 +495,7 @@ def configure(conf): else: why_not_tests = "defaults to disabled" - conf.report_optional_feature("ENABLE_TESTS", "Build tests", env['ENABLE_TESTS'], why_not_tests) + conf.report_optional_feature("ENABLE_TESTS", "Tests", env['ENABLE_TESTS'], why_not_tests) # Decide if examples will be built or not. if Options.options.enable_examples: @@ -516,7 +516,7 @@ def configure(conf): else: why_not_examples = "defaults to disabled" - conf.report_optional_feature("ENABLE_EXAMPLES", "Build examples", env['ENABLE_EXAMPLES'], + conf.report_optional_feature("ENABLE_EXAMPLES", "Examples", env['ENABLE_EXAMPLES'], why_not_examples) try: for dir in os.listdir('examples'): @@ -595,7 +595,7 @@ def configure(conf): Options.options.out, Logs.colors('NORMAL'))) - for (name, caption, was_enabled, reason_not_enabled) in conf.env['NS3_OPTIONAL_FEATURES']: + for (name, caption, was_enabled, reason_not_enabled) in sorted(conf.env['NS3_OPTIONAL_FEATURES'], key=lambda s : s[1]): if was_enabled: status = 'enabled' color = 'GREEN'