From 726d395820446e0c075d14f9ba70ceb835b59760 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 31 May 2012 23:52:53 +0200 Subject: [PATCH] t: Fix to handle buildd output and exit code change. Broken in a1ade38eef7f07b148c07f1d2721fae8f1c8d5b1 and 2a259b08620582db1693281cded2deb29708e16b. --- t/tests.t | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/t/tests.t b/t/tests.t index 02c3d3c..b2e3d6d 100644 --- a/t/tests.t +++ b/t/tests.t @@ -856,39 +856,39 @@ is_blhc 'false-positives', '', 1, # buildd support -is_blhc 'empty', '--buildd', 1, - 'I-no-compiler-commands +is_blhc 'empty', '--buildd', 0, + 'I-no-compiler-commands|| '; is_blhc 'buildd-package-details', '--buildd', 0, ''; -is_blhc 'buildd-dpkg-dev', '--buildd', 8, - 'W-dpkg-buildflags-missing CPPFLAGS 7 (of 7), CFLAGS 6 (of 6), CXXFLAGS 1 (of 1), LDFLAGS 2 (of 2) missing +is_blhc 'buildd-dpkg-dev', '--buildd', 0, + 'W-dpkg-buildflags-missing|CPPFLAGS 7 (of 7), CFLAGS 6 (of 6), CXXFLAGS 1 (of 1), LDFLAGS 2 (of 2) missing| '; -is_blhc 'buildd-dpkg-dev-old', '--buildd', 8, - 'W-dpkg-buildflags-missing CFLAGS 3 (of 6), CXXFLAGS 1 (of 1) missing +is_blhc 'buildd-dpkg-dev-old', '--buildd', 0, + 'W-dpkg-buildflags-missing|CFLAGS 3 (of 6), CXXFLAGS 1 (of 1) missing| '; -is_blhc 'buildd-dpkg-dev-missing', '--buildd', 8, - 'W-dpkg-buildflags-missing CFLAGS 3 (of 6), CXXFLAGS 1 (of 1) missing +is_blhc 'buildd-dpkg-dev-missing', '--buildd', 0, + 'W-dpkg-buildflags-missing|CFLAGS 3 (of 6), CXXFLAGS 1 (of 1) missing| '; -is_blhc 'debian-hardening-wrapper', '--buildd', 16, - 'I-hardening-wrapper-used +is_blhc 'debian-hardening-wrapper', '--buildd', 0, + 'I-hardening-wrapper-used|| '; -is_blhc 'buildd-verbose-build', '--buildd', 4, - 'W-compiler-flags-hidden 1 (of 5) hidden +is_blhc 'buildd-verbose-build', '--buildd', 0, + 'W-compiler-flags-hidden|1 (of 5) hidden| '; -is_blhc 'make', '--buildd', 1, - 'I-no-compiler-commands +is_blhc 'make', '--buildd', 0, + 'I-no-compiler-commands|| '; -is_blhc 'debian-cmake', '--buildd', 32, - 'I-invalid-cmake-used 2.8.7-1 +is_blhc 'debian-cmake', '--buildd', 0, + 'I-invalid-cmake-used|2.8.7-1| '; -- 2.45.2