[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 01:34:43 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62780>
Summary: oruntests looks in file without respecting
.oct-config
Project: GNU Octave
Submitter: cbm
Submitted: Mon 18 Jul 2022 05:34:42 AM UTC
Category: Test Suite
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 18 Jul 2022 05:34:42 AM UTC By: Colin Macdonald <cbm>
@mmuetzel, I found another place where .oct-config is not respected:
>> 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
This is using the `test_CP1252.m` file you added in
https://github.com/catch22/octave-doctest/pull/256
I tried that on Octave HG tip, including your patch:
changeset: 31144:f125ddb46055
user: Markus Mützel <markus.muetzel@gmx.de>
date: Wed Jul 13 13:20:48 2022 +0200
summary: dir_encoding: Use encoding from .oct-config file in current
directory (bug #6276>
- - - -
I guess oruntests does some raw file reading stuff that bypasses the
oct-config stuff.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62780>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config,
Colin Macdonald <=
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Markus Mützel, 2022/07/18
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Colin Macdonald, 2022/07/18
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Colin Macdonald, 2022/07/18
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Markus Mützel, 2022/07/19
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Markus Mützel, 2022/07/20
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Colin Macdonald, 2022/07/23
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Colin Macdonald, 2022/07/23
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Colin Macdonald, 2022/07/23
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Markus Mützel, 2022/07/24
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Colin Macdonald, 2022/07/24