parent
a5b3b0569f
commit
eab8550c11
|
|
@ -600,7 +600,7 @@ def check_test_v5_sch_deps(ctx, deps, extra=[], in_output=False):
|
|||
|
||||
def check_makefile(ctx, mkfile, prj, dbg, txt):
|
||||
ctx.expect_out_file('Makefile')
|
||||
res = ctx.search_in_file('Makefile', ['DEBUG=(.*)', txt])
|
||||
res = ctx.search_in_file('Makefile', [r'DEBUG\?=(.*)', txt])
|
||||
assert res[0][0] == dbg, res
|
||||
targets = ctx.read_mk_targets(mkfile)
|
||||
all = targets['all']
|
||||
|
|
|
|||
|
|
@ -326,5 +326,5 @@ def test_makefile_kibot_sys(test_dir):
|
|||
GS.out_dir = ctx.get_out_path('')
|
||||
with context.cover_it(cov):
|
||||
generate_makefile(ctx.get_out_path('Makefile'), 'pp', [], kibot_sys=True)
|
||||
ctx.search_in_file('Makefile', ['KIBOT=kibot'])
|
||||
ctx.search_in_file('Makefile', [r'KIBOT\?=kibot'])
|
||||
ctx.clean_up()
|
||||
|
|
|
|||
Loading…
Reference in New Issue