mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-06 17:31:01 +01:00
libapparmor: Fix parallel make dependency issue in testsuite
A multi job `make check` command could fail due to check-local running before the check-DEJAGNU target, which is automatically generated by automake, would complete. This would result in a build failure due to libaalogparse.log not yet existing. Fix the issue by depending on the check-DEJAGNU target. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Acked-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
26e1200324
commit
8217eb04af
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ clean-local:
|
||||||
rm -rf tmp.err.* tmp.out.* site.exp site.bak test_multi/out
|
rm -rf tmp.err.* tmp.out.* site.exp site.bak test_multi/out
|
||||||
rm -f libaalogparse.log libaalogparse.sum
|
rm -f libaalogparse.log libaalogparse.sum
|
||||||
|
|
||||||
check-local:
|
check-local: check-DEJAGNU
|
||||||
if ! test -f libaalogparse.log ; then echo '*** libaalogparse.log not found - is dejagnu installed? ***'; exit 1; fi
|
if ! test -f libaalogparse.log ; then echo '*** libaalogparse.log not found - is dejagnu installed? ***'; exit 1; fi
|
||||||
if grep ERROR libaalogparse.log ; then exit 1 ; fi
|
if grep ERROR libaalogparse.log ; then exit 1 ; fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue