[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44303] resolve duplication / merge runtests a
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #44303] resolve duplication / merge runtests and __run_test_suite__ |
Date: |
Thu, 19 Feb 2015 05:13:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?44303>
Summary: resolve duplication / merge runtests and
__run_test_suite__
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Thu 19 Feb 2015 12:13:06 AM EST
Category: Octave Function
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
There is a lot of duplicated functionality between the runtests.m and
__run_test_suite__.m function files. Both functions have equivalent code to
find files with unit tests, recurse into subdirectories, and display test
results in a formatted output to the screen.
The __run_test_suite__ function primarily exists to support the fntests.m
script used by `make check`. But it can also be used to run the full test
suite on an installed copy of Octave. It also creates the fntests.log file.
The runtests function is more useful for testing functions in packages or in
arbitrary directories on the load path. The output is slightly different from
__run_test_suite__, and no log file is written.
It would be preferable to merge these functions or at least factor out as much
common code as possible.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44303>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44303] resolve duplication / merge runtests and __run_test_suite__,
Mike Miller <=