[Tests][Makefile] Adapted to the v6/7 schematic deps
This commit is contained in:
parent
ea06a32181
commit
abf07ac95d
|
|
@ -760,9 +760,14 @@ def check_makefile(ctx, mkfile, prj, dbg, txt):
|
||||||
logging.debug('- Target `run_drc` OK')
|
logging.debug('- Target `run_drc` OK')
|
||||||
# fake_sch target
|
# fake_sch target
|
||||||
deps = targets['fake_sch'].split(' ')
|
deps = targets['fake_sch'].split(' ')
|
||||||
assert len(deps) == 6, deps
|
if context.ki5():
|
||||||
check_test_v5_sch_deps(ctx, deps, extra=[ctx.get_out_path('n.lib'), ctx.get_out_path('y.lib'),
|
# SCHs + 2 libs + symbols table
|
||||||
ctx.get_out_path('sym-lib-table')], in_output=True)
|
assert len(deps) == 6, deps
|
||||||
|
extra = [ctx.get_out_path('n.lib'), ctx.get_out_path('y.lib'), ctx.get_out_path('sym-lib-table')]
|
||||||
|
else:
|
||||||
|
assert len(deps) == 3, deps
|
||||||
|
extra = []
|
||||||
|
check_test_v5_sch_deps(ctx, deps, extra=extra, in_output=True)
|
||||||
check_test_v5_sch_deps(ctx, targets[targets['fake_sch']].split(' '))
|
check_test_v5_sch_deps(ctx, targets[targets['fake_sch']].split(' '))
|
||||||
logging.debug('- Target `fake_sch` OK')
|
logging.debug('- Target `fake_sch` OK')
|
||||||
# 3D target
|
# 3D target
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue