2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 13:42:14 +00:00

Don't emit any messages when <build>no is in properties.

[SVN r35921]
This commit is contained in:
Vladimir Prus
2006-11-08 09:07:01 +00:00
parent aaed235d79
commit 785ff1614e
2 changed files with 4 additions and 7 deletions

View File

@@ -1217,12 +1217,11 @@ class basic-target : abstract-target
}
else
{
# We're here either because there's error computing
# properties, or there's <build>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 ] "-- <build>no in properties." ;
}
}
}
else

View File

@@ -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 -- <build>no in properties.") == -1)
t.run_build_system("release")
t.expect_addition("bin/$toolset/release/hello.exe")