[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57424] Running the test suite on Windows cras
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave |
Date: |
Tue, 17 Dec 2019 13:25:05 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0 |
Follow-up Comment #9, bug #57424 (project octave):
After the last change (hg id 56d94f86a659), publish.tst now fails:
>>>>> processing
D:\Repositories\Octave\test\octave-2019-12-17-18-16-w64\mingw64\share\octave\6.0.0\etc\tests\fixed\publish\publish.tst
***** test
visibility = get (0, "defaultfigurevisible");
toolkit = graphics_toolkit ();
unwind_protect
if (! __have_feature__ ("QT_OFFSCREEN")
|| ! strcmp (graphics_toolkit (), "qt"))
try
graphics_toolkit ("gnuplot");
catch
## The system doesn't support gnuplot for drawing hidden
## figures. Just return and have test marked as passing.
return;
end_try_catch
endif
set (0, "defaultfigurevisible", "off");
scripts = dir ("test_script*.m");
tmpDir = tempname ();
mkdir (tmpDir);
opts.outputDir = tmpDir;
for fname = {scripts.name}
publish (fname{1}, opts);
endfor
confirm_recursive_rmdir (false, "local");
rmdir (tmpDir, "s");
unwind_protect_cleanup
set (0, "defaultfigurevisible", visibility);
graphics_toolkit (toolkit);
end_unwind_protect
!!!!! test failed
__imwrite__: invalid function handle
***** test
visibility = get (0, "defaultfigurevisible");
toolkit = graphics_toolkit ();
unwind_protect
if (! __have_feature__ ("QT_OFFSCREEN")
|| ! strcmp (graphics_toolkit (), "qt"))
try
graphics_toolkit ("gnuplot");
catch
## The system doesn't support gnuplot for drawing hidden
## figures. Just return and have test marked as passing.
return;
end_try_catch
endif
set (0, "defaultfigurevisible", "off");
## Create temporary directory
tmpDir = tempname ();
mkdir (tmpDir);
opts.outputDir = tmpDir;
## Call publish and grabcode
publish ("test_script.m", opts);
str1 = fileread ("test_script.m");
str2 = grabcode (fullfile (tmpDir, "test_script.html"));
confirm_recursive_rmdir (false, "local");
rmdir (tmpDir, "s");
## Canonicalize strings
str1 = strjoin (deblank (strsplit (str1, "\n")), "\n");
str2 = strjoin (deblank (strsplit (str2, "\n")), "\n");
assert (hash ("md5", str1), hash ("md5", str2));
unwind_protect_cleanup
set (0, "defaultfigurevisible", visibility);
graphics_toolkit (toolkit);
end_unwind_protect
!!!!! test failed
__imwrite__: invalid function handle
It still passed yesterday.
Re-open or create a new bug?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57424>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave, Markus Mützel, 2019/12/16
- [Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave, Kai Torben Ohlhus, 2019/12/16
- [Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave, Markus Mützel, 2019/12/16
- [Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave, Pantxo Diribarne, 2019/12/16
- [Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave, Philip Nienhuis, 2019/12/16
- [Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave, Markus Mützel, 2019/12/16
- [Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave, John W. Eaton, 2019/12/16
- [Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave, Markus Mützel, 2019/12/16
- [Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave, Pantxo Diribarne, 2019/12/17
- [Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave,
Markus Mützel <=
- [Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave, Markus Mützel, 2019/12/18
- [Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave, John W. Eaton, 2019/12/18
- [Octave-bug-tracker] [bug #57424] Running the test suite on Windows crashes Octave, John W. Eaton, 2019/12/18