|
@@ -0,0 +1,69 @@
|
|
|
|
+<HTML>
|
|
|
|
+<HEAD>
|
|
|
|
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
|
|
|
+<META NAME="Generator" CONTENT="Microsoft Word 97">
|
|
|
|
+<TITLE>DOS Unit Compatibility test suite</TITLE>
|
|
|
|
+</HEAD>
|
|
|
|
+<BODY>
|
|
|
|
+
|
|
|
|
+<B><FONT FACE="Arial" SIZE=4><P>DOS Unit Compatibility test suite</P>
|
|
|
|
+</B></FONT><FONT SIZE=2>
|
|
|
|
+<P>This document describes the expected behavior, as well as the test currently done to test the compatibility of the DOS unit with the original Borland Pascal v7.01 compiler suite. It is intended to be generic, and works with scripts across different operating systems.</P>
|
|
|
|
+
|
|
|
|
+<P>The testsuite is divided into seven different section, as described in the following table:</P>
|
|
|
|
+</FONT>
|
|
|
|
+<TABLE CELLSPACING=0 BORDER=0 CELLPADDING=7 WIDTH=300>
|
|
|
|
+<TR><TD VALIGN="TOP">
|
|
|
|
+<FONT SIZE=2><P>Date and Time routines</FONT></TD>
|
|
|
|
+</TR>
|
|
|
|
+<TR><TD VALIGN="TOP">
|
|
|
|
+<FONT SIZE=2><P>Interrupt Support routines</FONT></TD>
|
|
|
|
+</TR>
|
|
|
|
+<TR><TD VALIGN="TOP">
|
|
|
|
+<FONT SIZE=2><P>Disk status routines</FONT></TD>
|
|
|
|
+</TR>
|
|
|
|
+<TR><TD VALIGN="TOP">
|
|
|
|
+<FONT SIZE=2><P>File-Handling routines</FONT></TD>
|
|
|
|
+</TR>
|
|
|
|
+<TR><TD VALIGN="TOP">
|
|
|
|
+<FONT SIZE=2><P>Environment Handling routines</FONT></TD>
|
|
|
|
+</TR>
|
|
|
|
+<TR><TD VALIGN="TOP">
|
|
|
|
+<FONT SIZE=2><P>Process Handling routines</FONT></TD>
|
|
|
|
+</TR>
|
|
|
|
+<TR><TD VALIGN="TOP">
|
|
|
|
+<FONT SIZE=2><P>Miscealleneous routines</FONT></TD>
|
|
|
|
+</TR>
|
|
|
|
+</TABLE>
|
|
|
|
+
|
|
|
|
+<FONT SIZE=2>
|
|
|
|
+<P> </P>
|
|
|
|
+<P>The following assumptions are made when testing the DOS unit:</P>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+<UL>
|
|
|
|
+<LI>The system unit is valid, and has the expected functionality</LI>
|
|
|
|
+<LI>The code generation gives correct generated code</LI></UL>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+<P>The following external system files are created with this unit:</P>
|
|
|
|
+
|
|
|
|
+<UL>
|
|
|
|
+<LI>TESTDOS.DAT in the same directory where the test is executed.</LI>
|
|
|
|
+<LI>MYDIR in the same directory where the test is executed.</LI>
|
|
|
|
+<LI>TESTFILE in the same directory where the test is executed</LI></UL>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+<P> </P>
|
|
|
|
+<P>The following routines are not tested in the testdos unit:</P>
|
|
|
|
+
|
|
|
|
+<UL>
|
|
|
|
+<LI>Intr()</LI>
|
|
|
|
+<LI>MsDos()</LI>
|
|
|
|
+<LI>GetIntVec()</LI>
|
|
|
|
+<LI>SetIntVec()</LI>
|
|
|
|
+<LI>Keep()</LI></UL>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+<P>The RootPath should be set to point ot the Root where the volume identifier can be found. This is about the only really platform dependant constant / variable in the test unit.</P></FONT></BODY>
|
|
|
|
+</HTML>
|