pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pspp removed from Debian


From: John Darrington
Subject: Re: pspp removed from Debian
Date: Fri, 8 Aug 2014 23:30:30 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

[ Moving this discussion to the pspp-dev.org since this is a development issue, 
not a user issue]

This actually suggests a small bug either in PSPP or the test.  I will look at 
it shortly.

On Fri, Aug 08, 2014 at 04:27:08PM +0200, Friedrich Beckmann wrote:
     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;
     
     ======== Expected Result from pspp.t ============
     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:
     ?.
     
     

     _______________________________________________
     Pspp-users mailing list
     address@hidden
     https://lists.gnu.org/mailman/listinfo/pspp-users


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]