On Wed, Sep 10, 2008 at 4:22 PM, Rick McGuire <[EMAIL PROTECTED]> wrote:

> I'd like to experiment with the API tests.  How do I get them to build and
> run on Windows?

Rick,

I'd check out my sandbox version, it is working well and is the entire
test suite.  I'll merge back to the main branch shortly.  The main
branch of test is not set up completely, I don't think.  Here is the
URL

 .
https://oorexx.svn.sourceforge.net/svnroot/oorexx/sandbox/mark/ooTest.4.0

Then, in a console Window with the Microsoft tools set up, build the
API libraries. To build againest your build directory first set
REXX_BUILD_HOME to the top of the source tree, and then build:

E:\work.ooRexx\ooRexxUnit\4.0>set REXX_BUILD_HOME=E:\work.ooRexx\3.x\main

E:\work.ooRexx\ooRexxUnit\4.0>cd external\API

E:\work.ooRexx\ooRexxUnit\4.0\external\API>nmake /F Makefile.win

Microsoft (R) Program Maintenance Utility   Version 7.00.8882
Copyright (C) Microsoft Corp 1988-2000. All rights reserved.

        cl /nologo /EHsc /Zi /Od /Gr /MTd
/IE:\work.ooRexx\3.x\main\api
/IE:\work.ooRexx\3.x\main\api\platform\wind
ows /c orxfunction.cpp
orxfunction.cpp
        link /NOLOGO /DEBUG -debugtype:cv /SUBSYSTEM:Windows
E:\work.ooRexx\3.x\main\Win32Dbg\rexx.lib E:\work.ooRex
x\3.x\main\Win32Dbg\rexxapi.lib /DLL /def:orxfunction.def orxfunction.obj
   Creating library orxfunction.lib and object orxfunction.exp
        copy orxfunction.dll ..\..\bin\WINDOWS
        1 file(s) copied.
        cl /nologo /EHsc /Zi /Od /Gr /MTd
/IE:\work.ooRexx\3.x\main\api
/IE:\work.ooRexx\3.x\main\api\platform\wind
ows /c orxmethod.cpp
orxmethod.cpp
        link /NOLOGO /DEBUG -debugtype:cv /SUBSYSTEM:Windows
E:\work.ooRexx\3.x\main\Win32Dbg\rexx.lib E:\work.ooRex
x\3.x\main\Win32Dbg\rexxapi.lib /DLL /def:orxmethod.def orxmethod.obj
   Creating library orxmethod.lib and object orxmethod.exp
        copy orxmethod.dll ..\..\bin\WINDOWS
        1 file(s) copied.

E:\work.ooRexx\ooRexxUnit\4.0\external\API>

The make file will put everything in the proper place.  It also only
builds against WinDbg32 and a debug version right now.

Then run the API tests.  A convenient way to run just the API tests is:

E:\work.ooRexx\ooRexxUnit\4.0\external\API>cd \work.ooRexx\3.x\main\Win32Dbg

E:\work.ooRexx\3.x\main\Win32Dbg>.\rexx
\work.ooRexx\ooRexxUnit\4.0\testOORexx.rex -R ooRexx\API
Searching for test containers..
Executing automated test suite..

ooTest Framework - Automated Test of the ooRexx Interpreter


Interpreter: REXX-ooRexx_4.0.0(MT) 6.03 9 Sep 2008
ooRexxUnit:  2.0.0_3.2.0        ooTest: 1.0.0_3.2.0

Tests ran:           97
Assertions:          184
Failures:            0
Errors:              0
Skipped files:       0

File search:        00:00:00.093000
Suite construction: 00:00:00.016000
Test execution:     00:00:00.047000
Total time:         00:00:01.047000


E:\work.ooRexx\3.x\main\Win32Dbg>


On Windows that's all you need to do.

--
Mark Miesfeld

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to