]> git.proxmox.com Git - ovs.git/commitdiff
tests: Regenerate atlocal when running tests.
authorBen Pfaff <blp@ovn.org>
Tue, 20 Dec 2016 21:15:51 +0000 (13:15 -0800)
committerBen Pfaff <blp@ovn.org>
Wed, 21 Dec 2016 00:23:43 +0000 (16:23 -0800)
A previous patch fixed double rebuilds when running tests in some cases.
That patch removed dependencies from targets in tests/automake.mk that
were redundant because the "all" target already depended on them.  A
dependency on tests/atlocal was also removed in the belief that "all"
depended on tests/atlocal.  This belief was incorrect, which meant that
tests/atlocal would not get regenerated if it was removed or out of date.
This commit fixes the problem.

Reported-by: Joe Stringer <joe@ovn.org>
Fixes: a8cb456227b0 ("tests: Fix double-rebuild of testsuite for "check-valgrind" and similar.")
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
tests/automake.mk

index 4939d7c55c5f2dc57c50e2fc1aff1288dd55b601..f4d487933f7f5e992595f19d1cb101c7fc36c073 100644 (file)
@@ -112,6 +112,8 @@ SYSTEM_TESTSUITE_AT = \
        tests/system-ovn.at \
        tests/system-traffic.at
 
+check_SCRIPTS += tests/atlocal
+
 TESTSUITE = $(srcdir)/tests/testsuite
 TESTSUITE_PATCH = $(srcdir)/tests/testsuite.patch
 SYSTEM_KMOD_TESTSUITE = $(srcdir)/tests/system-kmod-testsuite