parent
fef12be4d4
commit
572d689b2e
@ -1,44 +0,0 @@
|
|||||||
From 6f8b68c71fb57393cdd0b789dc68ae9c7d0c1d34 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
|
||||||
Date: Tue, 30 Apr 2019 15:32:43 +0200
|
|
||||||
Subject: [PATCH] test: Adjust excpected number of lines in log to
|
|
||||||
Inline-0.82_001
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
This Inline change:
|
|
||||||
|
|
||||||
commit 13fd62a675c9de3c1fdb734898a689155647c5b1 (HEAD, origin/config-accum)
|
|
||||||
Author: Ed J <mohawk2@users.noreply.github.com>
|
|
||||||
Date: Tue Apr 2 18:37:12 2019 +0100
|
|
||||||
|
|
||||||
merge per-language config, not overwrite
|
|
||||||
|
|
||||||
available in Inline-0.82_001 changed log file content and Inline-C 09parser.t
|
|
||||||
test started to fail. This patch adjust the test to pass with old and new Inline.
|
|
||||||
|
|
||||||
https://github.com/ingydotnet/inline-c-pm/issues/88
|
|
||||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
||||||
---
|
|
||||||
t/09parser.t | 4 +++-
|
|
||||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/t/09parser.t b/t/09parser.t
|
|
||||||
index 28b2148..0c94bf9 100644
|
|
||||||
--- a/t/09parser.t
|
|
||||||
+++ b/t/09parser.t
|
|
||||||
@@ -177,7 +177,9 @@ is ($res, $prod, "Returned product");
|
|
||||||
|
|
||||||
chomp (my @p = do { local @ARGV = "$TestInlineSetup::DIR/parser_id"; <> });
|
|
||||||
|
|
||||||
-is (scalar @p, 21, "Match number of lines in log");
|
|
||||||
+my $expected_log_lines = 13;
|
|
||||||
+$expected_log_lines += 8 if $Inline::VERSION < 0.82_001;
|
|
||||||
+is (scalar @p, $expected_log_lines, "Match number of lines in log");
|
|
||||||
|
|
||||||
TODO: {
|
|
||||||
local $TODO = 'Until pegex is default';
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
@ -1 +1 @@
|
|||||||
SHA512 (Inline-C-0.80.tar.gz) = f68eb9478374ef13a6eb0be6c5adc12ba9c052834ef45db6acc0c794ac295d5b47ffda57dd4d0b15345be96aa21ccaab8bf7e2be0ac0bc4cef73be782a346cf0
|
SHA512 (Inline-C-0.81.tar.gz) = c3d0d669c26017b4b63cc101377d067438c31fc5d1e6187d01194f70158049e386683b792716aad58772eae839512ecaefd4b3ac7a2377dd1404a651c24b2277
|
||||||
|
Loading…
Reference in new issue