[bug #68033] mkoctfile does not work using version 11.0.92 on Windows 11
Markus Mützel <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.bugs |
|---|---|
| Message-ID | <[email protected]> |
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.
Follow-up Comment #7, bug #68033 (group octave):
The following change fixes the failing test for me:
diff --git a/scripts/plot/util/private/__opengl_print__.m
b/scripts/plot/util/private/__opengl_print__.m
--- a/scripts/plot/util/private/__opengl_print__.m
+++ b/scripts/plot/util/private/__opengl_print__.m
@@ -203,11 +203,7 @@ function opts = __opengl_print__ (opts)
__check_rendering_capability__ ("print", opts.figure);
## Use toolkits "print_figure" method
- if (ispc () && ! isunix ())
- drawnow (gl2ps_device{n}, ['| "' pipeline{n} '"']);
- else
- drawnow (gl2ps_device{n}, ["| " pipeline{n}]);
- endif
+ drawnow (gl2ps_device{n}, ["| " pipeline{n}]);
endfor
if (! isempty (strfind (opts.devopt, "standalone")))
I'm guessing we tried to work around an implementation error of popen on
Windows with that platform specific syntax.
Being able to use platform-independent commands here probably means that we
are doing something better on Windows now than before. (By "better" I mean
"more consistent with other platforms".)
With the changes from comment #2 and the one from this comment, the test suite
is passing again for me locally:
Summary:
PASS 22325
FAIL 0
XFAIL (reported bug) 36
SKIP (missing feature) 77
SKIP (run-time condition) 14
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68033>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaYmytQAKCRCqLAuaBUf3 TnvNAP40bhQMyVZMD4WYtqd5cPc26mD/K917SSiVwFui21xJhwD/TdwprMUZSHwE J9jfbqBM5hUahvllfrTpfIDnRvF2sAI= =kVQq -----END PGP SIGNATURE-----