## Using Your DDK

[prev][next][parent][TOC]

### Device Driver Test Tool

Tool Description:

The Functional Verification Test Cases included in the Base test suites are controlled by the Device Driver Test Tool (DDTT), which provides a common front-end parser for test-case script files and a control for test-case execution.

Compilers/Assemblers Required:

         IBM C Set ++ V 2.01
         OS/2 Toolkit for OS/2 2.1 or later

Build Instructions:

1.Set the environment variables so the correct tools are picked up during the build.

    e.g., SET PATH=<drive>:\DDK\TOOLS;%PATH%

Where <drive> represents the DDK installed drive and DDK represents the DDK installed directory. On the CD-ROM, the TOOLS directory path is DDK\TOOLS.

2.The IBM C Set ++ V2.01 compiler should be installed.

3.Make sure the OS/2 Toolkit is installed and the environment variables are set. In addition, the INCLUDE environment must be set to point to the installed Toolkit C++ header files. For example:

      SET INCLUDE=%INCLUDE%;<drive>:\TOOLKT21\CPLUS\OS2H

4.Change the directory to DDK\BASE\TESTTOOL\DDTT.

5.Invoke NMAKE on the resident makefile, as follows:

           NMAKE TARGET=SCSIADD                 for SCSIADD.DLL
           NMAKE TARGET=DASDADD                for DASDADD.DLL
           NMAKE TARGET=DDTCDROM              for DDTCDROM.DLL
           NMAKE TARGET=DDTDASD                for DDTDASD.DLL
           NMAKE TARGET=DDTKBD                  for DDTKBD.DLL
           NMAKE TARGET=DDTPARA                for DDTPARA.DLL
           NMAKE TARGET=DDTPCMC                for DDTPCMC.DLL
           NMAKE TARGET=DDTSCSI                  for DDTSCSI.DLL

Build Notes:

Remove any references to the DDK headers in case of compilation errors.

Files Created by Successful Build:

         Directory:  \DDK\BASE\TESTTOOL\DDTT

         o  SCSIADD.DLL
         o  DDTSCSI.DLL
         o  DASDADD.DLL
         o  DDTDASD.DLL
         o  DDTPCMC.DLL
         o  DDTCDROM.DLL
         o  DDTKBD.DLL
         o  DDTPARA.DLL