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

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

[Octave-bug-tracker] [bug #54622] test importdata fails in dev octave wi


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #54622] test importdata fails in dev octave with windows
Date: Wed, 5 Sep 2018 11:53:53 -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:
  <http://savannah.gnu.org/bugs/?54622>

                 Summary: test importdata fails in dev octave with windows
                 Project: GNU Octave
            Submitted by: lostbard
            Submitted on: Wed 05 Sep 2018 03:53:50 PM UTC
                Category: Test Suite
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: JohnD
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Running a current version of dev octave in Windows I get a test failure for
importdata which doesnt seem to be happening in linux

It failed when running __run_test_suite__, and then afterwards will fail the
same running the test separately


>> test importdata
***** test
 ## Exceptional values (Inf, NaN, NA)
 A = [3.1 Inf NA; -Inf NaN 128];
 fn  = tempname ();
 fid = fopen (fn, "w");
 fputs (fid, "3.1\tInf\tNA\n-Inf\tNaN\t128");
 fclose (fid);
 [a,d,h] = importdata (fn, '\t');
 unlink (fn);
 assert (a, A);
 assert (d, "\t");
 assert (h, 0);
!!!!! test failed
ASSERT errors for:  assert (a,A)

  Location  |  Observed  |  Expected  |  Reason
     .          O(1x1)       E(2x3)      Dimensions don't match




Unfortunately, if I run test importdata before testsuite, it passes ok.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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