mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 12:42:11 +00:00
* jam_src/make1.c (make1c): Output don't output nonqueit when neither
DEBUG_MAKE nor DEBUG_MAKEQ is set.
* test/code_d1d2.py: New test.
[SVN r16231]
36 lines
528 B
Python
36 lines
528 B
Python
#!/usr/bin/python
|
|
|
|
# This tests correct handling of "-d1" and "-d2" options.
|
|
|
|
import BoostBuild
|
|
|
|
t = BoostBuild.Tester()
|
|
|
|
t.write("file.jam", """
|
|
actions a {
|
|
}
|
|
|
|
actions quietly b {
|
|
}
|
|
|
|
ALWAYS all ;
|
|
|
|
a all ;
|
|
b all ;
|
|
""")
|
|
|
|
t.run_build_system("-ffile.jam -d0", stdout="")
|
|
|
|
t.run_build_system("-ffile.jam -d1", stdout=
|
|
"""...found 1 target...
|
|
...updating 1 target...
|
|
a all
|
|
...updated 1 target...
|
|
""")
|
|
|
|
t.run_build_system("-ffile.jam -d2")
|
|
|
|
t.fail_test(t.stdout().find("a all") == -1)
|
|
t.fail_test(t.stdout().find("b all") == -1)
|
|
|