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

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

[Octave-bug-tracker] [bug #62780] oruntests looks in file without respec


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config
Date: Mon, 18 Jul 2022 16:02:05 -0400 (EDT)

Follow-up Comment #2, bug #62780 (project octave):

It seems it does *not* help to add the directory to the load path:

>> addpath(canonicalize_file_name ("test_extra/test_encoding/"))
>> oruntests test_extra/test_encoding/
Processing files in
/home/cbm/src/octave-doctest.git/test_extra/test_encoding:

error: regexp: the input string is invalid UTF-8
error: called from
    oruntests>has_tests at line 141 column 10
    oruntests>run_all_tests at line 82 column 11
    oruntests at line 62 column 5



`dir_encoding` also did not seem to help:

>> p = canonicalize_file_name ("test_extra/test_encoding/")
p = /home/cbm/src/octave-doctest.git/test_extra/test_encoding
>> dir_encoding (p, "CP1252")
>> tmp = dir_encoding (p)
tmp = cp1252
>> oruntests (p)
Processing files in
/home/cbm/src/octave-doctest.git/test_extra/test_encoding:

error: regexp: the input string is invalid UTF-8
error: called from
    oruntests>has_tests at line 141 column 10
    oruntests>run_all_tests at line 82 column 11
    oruntests at line 62 column 5



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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