[Tests][Makefile] Adapted to the v6/7 schematic deps

This commit is contained in:
Salvador E. Tropea 2024-01-30 09:10:05 -03:00
parent ea06a32181
commit abf07ac95d
1 changed files with 8 additions and 3 deletions

View File

@ -760,9 +760,14 @@ def check_makefile(ctx, mkfile, prj, dbg, txt):
logging.debug('- Target `run_drc` OK')
# fake_sch target
deps = targets['fake_sch'].split(' ')
if context.ki5():
# SCHs + 2 libs + symbols table
assert len(deps) == 6, deps
check_test_v5_sch_deps(ctx, deps, extra=[ctx.get_out_path('n.lib'), ctx.get_out_path('y.lib'),
ctx.get_out_path('sym-lib-table')], in_output=True)
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(' '))
logging.debug('- Target `fake_sch` OK')
# 3D target