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

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

[Octave-bug-tracker] [bug #54832] __run_test_suite__ fails with nested d


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #54832] __run_test_suite__ fails with nested directories
Date: Fri, 12 Oct 2018 09:47:26 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134

URL:
  <https://savannah.gnu.org/bugs/?54832>

                 Summary: __run_test_suite__ fails with nested directories
                 Project: GNU Octave
            Submitted by: lostbard
            Submitted on: Fri 12 Oct 2018 01:47:24 PM UTC
                Category: Test Suite
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: lostbard
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

With the following directory structure:


testfolder (dir)
  a1.m
  test1 (dir)
    a2.m


a1.m and a2.m can be empty


Then running

 __run_test_suite__ ({"testfolder"},{})


Running in 4.2.2:

Integrated test scripts:

Fixed test scripts:


Summary:

  PASS         0
  FAIL         0




Running 5.0.0:

Integrated test scripts:

__run_test_suite__: fopen failed: testfolder/test1/a2.m


same thing accurs with package +folders. 

Looking at the code for __run_test_suite__, it does a cd into the test folder
and then tries to open the file using the full path name.






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54832>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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