MCPcopy Create free account
hub / github.com/boostorg/build / missing_target

Function missing_target

v2/test/core_update_now.py:122–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120
121
122def missing_target():
123 t = BoostBuild.Tester(pass_toolset=0, pass_d0=False)
124
125 t.write("file.jam", """\
126actions do-print
127{
128 echo updating $(<)
129}
130
131NOTFILE target2 ;
132do-print target2 ;
133DEPENDS target2 : target1 ;
134
135UPDATE_NOW target1 : : ignore-minus-n ;
136
137DEPENDS all : target1 target2 ;
138""")
139
140 t.run_build_system(["-ffile.jam", "-n"], status=1, stdout="""\
141don&#x27;t know how to make target1
142...found 1 target...
143...can&#x27;t find 1 target...
144...found 2 targets...
145...can&#x27;t make 1 target...
146""")
147
148 t.cleanup()
149
150
151def build_once():

Callers 1

core_update_now.pyFile · 0.85

Calls 3

writeMethod · 0.95
run_build_systemMethod · 0.95
cleanupMethod · 0.95

Tested by

no test coverage detected