jobs: gerrit-osmo-ttcn3-hacks: Make deps before cleaning

make clean has subdir/Makefile as dependency. As a result,
subdir/gen_links.sh and subdir/makefile-regen.sh are called, and
ttcn3_makefilegen in there fails because the dep symlinks are done
against missing files (because git repos in deps have not been checked
out).

Additionally, since 61c11e9234b3f9e087aba94380892ab66abc1191 make
deps-update is equivalent to make deps since the dependency tracking
system was improved, so we can remove it as it's not needed anymore.

Change-Id: I07fee78bba5b07c7f3f4359869e00ef2583e0769
This commit is contained in:
Pau Espin 2018-03-20 19:25:44 +01:00 committed by Harald Welte
parent a2f86fb5be
commit 28eff46deb
1 changed files with 2 additions and 1 deletions

View File

@ -189,7 +189,8 @@
slave_axis: !!python/tuple [ttcn3]
cmd: >
# keep first line with less indent to preserve newlines
make clean; make deps-update && make compile
set -e
make deps; make clean; make compile
jobs:
- 'gerrit-{repos}'