bugGNU Octave - Bugs: bug #40780, runtests doesn't execute tests in...

 
 

bug #40780: runtests doesn't execute tests in files which have only '%!xtest' block

Submitted by:  None
Submitted on:  Tue 03 Dec 2013 03:57:43 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Wang SOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.4
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 03 Dec 2013 05:07:27 PM UTC, comment #1:

I fixed this on the development branch (http://hg.savannah.gnu.org/hgweb/octave/rev/7c9148b235eb).

Unfortunately, we're about to release version 3.8.0 and version 4.0 is dedicated to the new GUI for Octave. This means the change won't be visible to users for quite a while. To access the change you will need to either build from Mercurial sources or just patch the m-file yourself.

Rik <rik5>
Project Administrator
Tue 03 Dec 2013 03:57:43 AM UTC, original submission:

Problem:
If a file has at least one '%!test' block, all the tests (including '%!test' and '%!xtest' types) in this file can be executed from 'runtests',
but if a file has only '%!xtest' block, this file cannot be tested from 'runtests'.

Possible solutions:
Modify file '/usr/share/octave/3.6.4/m/testfun/runtests.m' line 88 column 43 as

System and Octave version:
Debian GNU/Linux unstable (sid)
3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) x86_64
GNU Octave, version 3.6.4
Octave was configured for "x86_64-pc-linux-gnu".

Octave is installed from Debian package:
octave:amd64 (3.6.4-4)

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #29764:  patch added by None (476B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 03 Dec 2013 05:07:27 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 03 Dec 2013 03:57:43 AM UTCNoneAttached File-=>Added patch, #29764

    Back to the top


    Powered by Savane 3.1-cleanup1