From bdf1527974ee0faf5ac41c4554a89d161b6249e1 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Mon, 9 May 2011 04:36:25 -0400 Subject: [PATCH] Testsuite: Compiler info skip; whitespace stupidity. --- test/runtest | 3 +++ test/scripts/0000-Basic/0002 | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test/runtest b/test/runtest index feca75e2e..ea05524b0 100755 --- a/test/runtest +++ b/test/runtest @@ -742,6 +742,9 @@ RESET_AFTER_EXTRA_LINE_READ: next if /^Lookups \(built-in\):/; next if /^Total \d+ lookups/; + # drop compiler information + next if /^Compiler:/; + # and the ugly bit # different libraries will have different numbers (possibly 0) of follow-up # lines, indenting with more data diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002 index 625050cef..01ba6d911 100644 --- a/test/scripts/0000-Basic/0002 +++ b/test/scripts/0000-Basic/0002 @@ -552,7 +552,7 @@ abcdea abc z ${tr{abcdea}{abc}{z}} " text " ${if bool{ text }{true}{false}} EXPECT: error "00" ${if bool{00}{true}{false}} EXPECT: false "!true" ${if !bool{true}{true}{false}} EXPECT: false -"!false" ${if !bool{false}{true}{false}} EXPECT: true +"!false" ${if !bool{false}{true}{false}} EXPECT: true "TrUe" ${if bool_lax{TrUe}{true}{false}} EXPECT: true "FALSE" ${if bool_lax{FALSE}{true}{false}} EXPECT: false @@ -572,7 +572,7 @@ abcdea abc z ${tr{abcdea}{abc}{z}} "text " ${if bool_lax{text }{true}{false}} EXPECT: true " text " ${if bool_lax{ text }{true}{false}} EXPECT: true "00" ${if bool_lax{00}{true}{false}} EXPECT: true -"!true" ${if !bool_lax{true}{true}{false}} EXPECT: false +"!true" ${if !bool_lax{true}{true}{false}} EXPECT: false "!false" ${if !bool_lax{false}{true}{false}} EXPECT: true # RFC 2047 -- 2.25.1