octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #38755] io package 1.2.1: files under private/


From: Sébastien Villemot
Subject: [Octave-bug-tracker] [bug #38755] io package 1.2.1: files under private/ contain tests
Date: Wed, 17 Apr 2013 09:52:52 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 Iceweasel/20.0

URL:
  <http://savannah.gnu.org/bugs/?38755>

                 Summary: io package 1.2.1: files under private/ contain tests
                 Project: GNU Octave
            Submitted by: svillemot
            Submitted on: Wed 17 Apr 2013 09:52:51 AM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The following files under the private/ directory contain tests:
- inst/private/chk_jar_entries.m
- inst/private/parse_sp_range.m
- inst/private/spsh_prstype.m

Having tests in a file under private/ is a design flaw, because these tests
cannot be executed with the test() command (unless the private/ subdir is
added to the path, which is precisely against its purpose).

The attached patch (applied to the Debian package) proposes a solution by
running the tests from related upper-level functions. 

This is needed for Debian because we run the testsuite at build time.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 17 Apr 2013 09:52:51 AM GMT  Name: private-testsuite.patch  Size:
4kB   By: svillemot

<http://savannah.gnu.org/bugs/download.php?file_id=27896>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38755>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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