diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-08-15 11:17:36 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-15 11:21:07 +0200 | 
| commit | 279f5e09340fbc1f9c15112360da59eacba4eb28 (patch) | |
| tree | 6fe7b758180c4c7c2725c797b36b985d567ca958 | |
| parent | 865f5bb8cb3baa2c8df576c6cd0af3d489e97b5f (diff) | |
tests: fix clippy include paths / double-build
A mismatch between the make rule and the include path causes dependency
tracking to try to build the clippy.c file twice (at the same time),
which results in spurious build failures.
Fixes: #971
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
| -rw-r--r-- | tests/lib/cli/test_cli.c | 2 | ||||
| -rw-r--r-- | tests/ospf6d/test_lsdb.c | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/cli/test_cli.c b/tests/lib/cli/test_cli.c index 8f062d8b5e..4cc15ba23f 100644 --- a/tests/lib/cli/test_cli.c +++ b/tests/lib/cli/test_cli.c @@ -41,7 +41,7 @@ DUMMY_DEFUN(cmd13, "alt a X:X::X:X");  DUMMY_DEFUN(cmd14,  	    "pat g {  foo A.B.C.D$foo|foo|bar   X:X::X:X$bar| baz } [final]"); -#include "tests/lib/cli/test_cli_clippy.c" +#include "lib/cli/test_cli_clippy.c"  DEFPY(magic_test, magic_test_cmd,  	"magic (0-100) {ipv4net A.B.C.D/M|X:X::X:X$ipv6}", diff --git a/tests/ospf6d/test_lsdb.c b/tests/ospf6d/test_lsdb.c index 310c4a7323..633e88e769 100644 --- a/tests/ospf6d/test_lsdb.c +++ b/tests/ospf6d/test_lsdb.c @@ -29,7 +29,7 @@  #include "ospf6d/ospf6_lsdb.h"  #include "tests/lib/cli/common_cli.h" -#include "tests/ospf6d/test_lsdb_clippy.c" +#include "ospf6d/test_lsdb_clippy.c"  static struct ospf6_lsdb *lsdb;  | 
