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

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

[Octave-bug-tracker] [bug #55841] "__run_test_suite__ ({'.'}, {})" fails


From: Rik
Subject: [Octave-bug-tracker] [bug #55841] "__run_test_suite__ ({'.'}, {})" fails with "fnm(1): out of bound 0"
Date: Wed, 6 Mar 2019 15:29:23 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #6, bug #55841 (project octave):

__run_test_suite__ is an internal function, as indicated by the leading and
trailing underscores, so it does not do much in the way of input validation. 
It expects to be called in the correct manner, which in this case is with
absolute paths rather than relative ones.

Additional workarounds,


make_absolute_filename (".")
canonicalize_file_name (".")


Would be easy to write your own wrapper function that takes in cell arrays and
then does


y = cellfun (@make_absolute_filename, x, "UniformOutput", false);


before passing to __run_test_suite__


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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