From 785ff1614e6552fc10ea215dea0f0e9f045efc0c Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 8 Nov 2006 09:07:01 +0000 Subject: [PATCH] Don't emit any messages when no is in properties. [SVN r35921] --- v2/build/targets.jam | 9 ++++----- v2/test/build_no.py | 2 -- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/v2/build/targets.jam b/v2/build/targets.jam index 533845511..23962a258 100644 --- a/v2/build/targets.jam +++ b/v2/build/targets.jam @@ -1217,12 +1217,11 @@ class basic-target : abstract-target } else { + # We're here either because there's error computing + # properties, or there's no in properties. + # In the latter case we don't want any diagnostic. + # In the former case, we need diagnostics. FIXME. self.generated.$(property-set) = $(rproperties) ; - - if $(rproperties[1]) != "@error" - { - ECHO "Skipping build of" [ full-name ] "-- no in properties." ; - } } } else diff --git a/v2/test/build_no.py b/v2/test/build_no.py index f10daeaed..ce5c51e46 100644 --- a/v2/test/build_no.py +++ b/v2/test/build_no.py @@ -28,8 +28,6 @@ int main() t.run_build_system() t.expect_nothing_more() -t.fail_test(string.find(t.stdout(), "Skipping build of ./hello -- no in properties.") == -1) - t.run_build_system("release") t.expect_addition("bin/$toolset/release/hello.exe")