patchGNU Octave - Patches: patch #8666, adjusting octave examples test to...


patch #8666: adjusting octave examples test to exactly match output

Submitted by:  CarnĂ« Draug <carandraug>
Submitted on:  Sun 03 May 2015 02:39:18 AM UTC  
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 06 Jul 2016 04:26:57 PM UTC, comment #3:

No particular action needed here for 4.2.0.

> a tst file will be extracted from the documentation

I don't think that will be necessary. octave-doctest does all that already.

However, I should update this patch: the dev version of doctest will skip the non-semantic examples-as-math-or-diagrams.

Colin Macdonald <cbm>
Wed 06 Jul 2016 02:05:54 PM UTC, comment #2:

Is the plan that a tst file will be extracted from the documentation? If so, I take it that no patch has been written to do that, and so this item can be ignored for the 4.2.0 release. Is that right?

Lachlan Andrew <lachlan>
Tue 12 May 2015 10:27:01 PM UTC, comment #1:

I've attached another patch for doctests.

One thing that's clear is @example gets used as an alternative to tex. This is not semantically correct.

I've replaced with @verbatim which sounds about right. But it doesn't indent like @example does. Here I've just moved them in manually roughly the same number of spaces, which doesn't feel right.

What is the right thing to do? New @ environment? New formatting for @verbatim to match the @example intend?

(file #33993)

Colin Macdonald <cbm>
Sun 03 May 2015 02:39:18 AM UTC, original submission:

Putting the patch from the mailing list here otherwise it will be forgotten

Basically, the idea is to use the examples in help text as more tests. This will also prevent our documentation from become out of date with the actual code.

Carnë Draug <carandraug>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #33993:  linear_alg_doctests.diff added by cbm (5KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by lachlan (Posted a comment)
  • -email is unavailable- added by cbm (Updated the item)
  • -email is unavailable- added by carandraug (Submitted the item)
  • -email is unavailable- added by carandraug (author of the patch)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-12 cbm Attached File- => Added linear_alg_doctests.diff, #33993
    2015-05-03 carandraug Attached File- => Added svd_plus_misc_doctest.diff, #33884
        Carbon-Copy- => Added -email is unavailable-

    Back to the top

    Powered by Savane 3.3