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

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

[Octave-bug-tracker] [bug #54180] libinterp/corefcn/file-io.cc-tst failu


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #54180] libinterp/corefcn/file-io.cc-tst failure and weird output when test suite is run twice
Date: Mon, 25 Jun 2018 02:18:15 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #4, bug #54180 (project octave):

I made a little mod to the scripts/testfun/__run_test_suite__.m (attached)
which will run file-io.cc-tst after every test.  I wanted to see exactly at
what point file-io.cc-tst starts failing.

Throughout the whole test suite there is no file-io.cc-tst fail on the first
pass.  On the second pass, it starts failing immediately:


  libinterp/corefcn/file-io.cc-tst ............................ PASS    
90/90
  time/is_leap_year.m ......................................... PASS      6/6
  libinterp/corefcn/file-io.cc-tst ............................ PASS    
90/90
  time/now.m .................................................. PASS      4/4
  libinterp/corefcn/file-io.cc-tst ............................ PASS    
90/90
  time/weekday.m .............................................. PASS    
20/20
  libinterp/corefcn/file-io.cc-tst ............................ PASS    
90/90

Fixed test scripts:

  bug-35448.tst ............................................... PASS      2/2
  libinterp/corefcn/file-io.cc-tst ............................ PASS    
90/90
  bug-35881.tst ............................................... PASS      1/1
  libinterp/corefcn/file-io.cc-tst ............................ PASS    
90/90
  bug-36025.tst ............................................... PASS      1/1
  libinterp/corefcn/file-io.cc-tst ............................ PASS    
90/90

[snip]

  if.tst ...................................................... PASS    
15/15
  libinterp/corefcn/file-io.cc-tst ............................ PASS    
90/90
  index.tst ................................................... PASS   
180/180
  libinterp/corefcn/file-io.cc-tst ............................ PASS    
90/90
  io.tst ...................................................... PASS   
157/157
  libinterp/corefcn/file-io.cc-tst ............................ans =
{
  [1,1] = [](0x1)
}

 PASS     89/90
                                                                  FAIL    1
  jit.tst ..................................................... PASS      2/2
                                                (missing feature) SKIP   36
  libinterp/corefcn/file-io.cc-tst ............................ans =
{
  [1,1] = [](0x1)
}

 PASS     89/90
                                                                  FAIL    1
  leftdiv.tst ................................................. PASS      6/6
  libinterp/corefcn/file-io.cc-tst ............................ans =
{
  [1,1] = [](0x1)
}

 PASS     89/90


I believe there are one or two missing "fclose()" calls in the io.tst.  I've
made some changes and started rerunning the test.  If it works I'll post a
changeset.

(file #44430)
    _______________________________________________________

Additional Item Attachment:

File name: run_file-io_test_after_every_test-djs2018jun24.diff Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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