|
From: | Friedrich Beckmann |
Subject: | Re: pspp removed from Debian |
Date: | Fri, 8 Aug 2014 16:27:08 +0200 |
Hi, i tried the debian package (based on 0.8.3) on sid with pbuilder and all tests pass, except test number 1039 (pspp.t). Within that test the „Basic reader test“ fails. The test fails because there is a mismatch between the output file „out.txt“ and the expected file contents. I think there is a difference in the value labels output. See the differences below. The difference is the order of the output. Maybe somebody could say if this is a real difference or just a test problem. Friedrich The relevant code snippet is: ======== from Pspp.t =============== print MYFILE "Variable $v is \"$name\", label is \"$label\"\n"; my $vl = $var->get_value_labels (); print MYFILE "Value Labels:\n"; print MYFILE "$_ => $vl->{$_}\n" for keys %$vl; ok (compare ("$tempdir/out.txt", <<EOF), "Basic reader operation"); Variable 0 is "string", label is "A Short String Variable" Value Labels: 3333 => threes 1111 => ones 2222 => twos Variable 1 is "longstring", label is "A Long String Variable" Value Labels: Variable 2 is "numeric", label is "A Numeric Variable" Value Labels: 1 => Unity 3 => Thripality 2 => Duality Variable 3 is "date", label is "A Date Variable" Value Labels: Variable 4 is "dollar", label is "A Dollar Variable" Value Labels: … ========= Content of produced out.txt ============= Variable 0 is "string", label is "A Short String Variable" Value Labels: 1111 => ones 2222 => twos 3333 => threes Variable 1 is "longstring", label is "A Long String Variable" Value Labels: Variable 2 is "numeric", label is "A Numeric Variable" Value Labels: 3 => Thripality 2 => Duality 1 => Unity Variable 3 is "date", label is "A Date Variable" Value Labels: Variable 4 is "dollar", label is "A Dollar Variable" Value Labels: Variable 5 is "datetime", label is "A Datetime Variable" Value Labels: …. |
[Prev in Thread] | Current Thread | [Next in Thread] |