From 10bb185d921d16acf638322b19d41f6ec4e30769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Mon, 11 Jun 2012 13:22:17 +0000 Subject: [PATCH] Added some temporary Boost Build debugging code as a part of the effort to track down some of the mysterious Boost Build test failures reported by the Boost library regression tests (namely, how on some platforms we are encountering empty target ids). Related code enabled using the '--plinky-plonky' command-line option. [SVN r78891] --- v2/build-system.jam | 9 +++++++++ v2/test/configuration.py | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/v2/build-system.jam b/v2/build-system.jam index 9f9c884cc..0460b56aa 100644 --- a/v2/build-system.jam +++ b/v2/build-system.jam @@ -613,6 +613,15 @@ local rule should-clean-project ( project ) $(extra-properties) ] ; local target-ids = [ $(build-request).get-at 1 ] ; local properties = [ $(build-request).get-at 2 ] ; + # '--plinky-plonky' - Temporary debugging code related to tracking down + # the cause of some Boost Build test failured on different platforms. + # (11.06.2012.) (Jurko) + if --plinky-plonky in $(.argv) + { + ECHO ... argv: \"$(.argv)\" ... ; + ECHO ... target-ids: \"$(target-ids)\" ... ; + ECHO ... properties: \"$(properties)\" ... ; + } # Expand properties specified on the command line into multiple property diff --git a/v2/test/configuration.py b/v2/test/configuration.py index 54e54b9c9..a59ef0376 100755 --- a/v2/test/configuration.py +++ b/v2/test/configuration.py @@ -25,7 +25,10 @@ def test_user_configuration(): path handling is tested. """ - t = BoostBuild.Tester("--debug-configuration", pass_toolset=False, + # '--plinky-plonky' - Temporary debugging code related to tracking down + # the cause of some Boost Build test failured on different platforms. + # (11.06.2012.) (Jurko) + t = BoostBuild.Tester("--debug-configuration --plinky-plonky", pass_toolset=False, use_test_config=False) implicitConfigLoadMessage = "notice: Loading user-config configuration file: *"