From b8b50020f06cb28f6277b3f75cd52afe6f766dfe Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 12 Sep 2015 21:28:29 +0300 Subject: [PATCH] Check correct output element. --- ninjabackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ninjabackend.py b/ninjabackend.py index bf8085a60..b2d5d00d2 100644 --- a/ninjabackend.py +++ b/ninjabackend.py @@ -545,7 +545,7 @@ class NinjaBackend(backends.Backend): velem.add_item('DESC', 'Running test suite under Valgrind.') velem.add_item('pool', 'console') velem.write(outfile) - self.check_outputs(elem) + self.check_outputs(velem) def generate_rules(self, outfile): outfile.write('# Rules for compiling.\n\n')