mfile2sci: debug and update conversions and/or related tests: doc, docopt, drawnow
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
Translation of
* cd() : the test uses the function dirname as a LHS
test_run m2sci CD enable_lt
edit SCI/modules/m2sci/tests/unit_tests/conversion/CD.dia.ref
* dir() : the test uses the function dirname as a LHS
test_run m2sci DIR enable_lt
edit SCI/modules/m2sci/tests/unit_tests/conversion/DIR.dia.ref
* doc() : uses doc(), that does not exist.
test_run m2sci DOC enable_lt
edit SCI/modules/m2sci/tests/unit_tests/conversion/DOC.dia.ref
* docopt() : uses %browsehelp, that does not exist.
test_run m2sci DOCOPT enable_lt
edit SCI/modules/m2sci/tests/unit_tests/conversion/DOCOPT.dia.ref
* dos() : test_run m2sci DOS enable_lt
yields some parasitic "operation +: Warning" in the dia.ref
* drawnow(): yields "// drawnow" instead of "drawnow"
test_run m2sci DRAWNOW enable_lt
edit SCI/modules/m2sci/tests/unit_tests/conversion/DRAWNOW.dia.ref
edit SCI/modules/m2sci/tests/unit_tests/mfilesnoexec/DRAWNOW.m
* exist() : uses exist() instead of exists()
test_run m2sci EXIST enable_lt
edit SCI/modules/m2sci/tests/unit_tests/conversion/EXIST.dia.ref
* ferror() : the test uses the function message as LHS.
test_run m2sci FERROR enable_lt
edit SCI/modules/m2sci/tests/unit_tests/conversion/FERROR.dia.ref
* ispc() : uses MSDOS that no longer exists.
test_run m2sci ISPC enable_lt
edit SCI/modules/m2sci/tests/unit_tests/conversion/ISPC.dia.ref
* isunix() : uses MSDOS that no longer exists.
test_run m2sci ISUNIX enable_lt
edit SCI/modules/m2sci/tests/unit_tests/conversion/ISUNIX.dia.ref
* return : now yields mtlb(resume)
test_run m2sci RETURN enable_lt
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
See the above test_run commands
OTHER INFORMATION:
------------------
There are certainly many other updates to perform. This is just a first bunch of issues.