[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: __print_parse_opts__.m test fails
From: |
Ben Abbott |
Subject: |
Re: __print_parse_opts__.m test fails |
Date: |
Tue, 28 Sep 2010 08:39:53 -0400 |
On Sep 28, 2010, at 5:29 AM, Marco Atzeri wrote:
> --- Mar 28/9/10, Ben Abbott ha scritto:
>
>>
>> On Sep 27, 2010, at 3:31 PM, Marco Atzeri wrote:
>>
>>> on cygwin with gcc-4.3.4
>>>
>>> $ hg tip
>>> changeset: 11024:fa56fd98c0c5
>>> tag: tip
>>> user: Rik <address@hidden>
>>> date: Sun Sep 26 12:55:38
>> 2010 -0700
>>> summary: Remove requirement
>> for PCRE in Octave. (Bug #31025)
>>>
>>> I just noticed this test failure
>>>
>>>>>>>> processing
>> /pub/hg/octave/scripts/plot/__print_parse_opts__.m
>>> ***** test
>>> opts = __print_parse_opts__ ("-dpsc", "-append",
>> "-loose");
>>> assert (opts.devopt, "pswrite");
>>> assert (opts.send_to_printer, true);
>>> assert (opts.use_color, 1);
>>> assert (opts.append_to_file, false);
>>> assert (opts.ghostscript.device, "pswrite")
>>> assert (opts.ghostscript.epscrop, false);
>>> !!!!! test failed
>>> assert (opts.ghostscript.epscrop,false) expected
>>> 0
>>> but got
>>> 1
>>>
>>>
>>> $ gs --version
>>> 8.63
>>>
>>> Is any other version requested ?
>>>
>>> Marco
>>
>> I've pushed the changeset below.
>>
>> http://hg.savannah.gnu.org/hgweb/octave/rev/a2bdd9180a3c
>>
>> Thanks
>> Ben
>>
>
> I still see the failure.
> $ hg tip
> changeset: 11027:a2bdd9180a3c
> tag: tip
> user: Ben Abbott <address@hidden>
> date: Mon Sep 27 19:38:16 2010 -0400
> summary: __print_parse_opts__.m: Properly crop eps image and fix tests.
>
>>>>>> processing /pub/hg/octave/scripts/plot/__print_parse_opts__.m
> ***** test
> opts = __print_parse_opts__ ("-djpg", "foobar", "-mono", "-loose");
> assert (opts.devopt, "jpeg")
> assert (opts.name, "foobar.jpg")
> assert (opts.ghostscript.device, "jpeg")
> assert (opts.ghostscript.epscrop, false);
> assert (opts.ghostscript.papersize, "");
> assert (opts.ghostscript.pageoffset, [0, 0]);
> assert (opts.send_to_printer, false);
> assert (opts.printer, "");
> assert (opts.use_color, -1);
> !!!!! test failed
> assert (opts.ghostscript.epscrop,false) expected
> 0
> but got
> 1
> Marco
>
opps.
http://hg.savannah.gnu.org/hgweb/octave/rev/d81b6144c4ba
Thanks again.
Ben