Changeset 8728 for trunk/testsuite


Ignore:
Timestamp:
Jun 20, 2002, 4:28:07 AM (23 years ago)
Author:
bird
Message:

Fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/testsuite/cui/watcomc.mak

    r8727 r8728  
    1 # $Id: watcomc.mak,v 1.1 2002-06-20 01:54:38 bird Exp $
     1# $Id: watcomc.mak,v 1.2 2002-06-20 02:28:07 bird Exp $
    22
    33#
     
    3939WMAKE  = $(WATCOM)\binnt\wmake.exe
    4040
    41 BIN_FILES = $(WCL386) $(WMAKE)
     41BIN_FILES = $(WCL386) $(WCC386) $(WLINK) $(WMAKE)
    4242
    4343
     
    5858testcase-wcl386-help: $(PATH_TARGET)\wcl386.help.stdout
    5959    false - testcase is broken. Doesn't detect pipe.
    60     set PATH=%WATCOM%\winnt;%PATH% && \
    61         $(TS_PEC) $(WCL386) > $(PATH_TARGET)\stdout 2> $(PATH_TARGET)\stderr
     60    SET PATH=$(WATCOM)\winnt;$(PATH)
     61    $(TS_PEC) $(WCL386) > $(PATH_TARGET)\stdout 2> $(PATH_TARGET)\stderr
    6262    $(TS_TEST_FILE_Z)   $(PATH_TARGET)\stderr
    6363    $(TS_TEST_FILE_NZ)  $(PATH_TARGET)\stdout
     
    169169            $(PATH_TARGET)\helloworld.stdout
    170170    SET PATH=$(WATCOM)\winnt;$(PATH)
    171     $(TS_PEC) $(WCC386) $(PATH_TARGET)\helloworld.c -Fo=$(PATH_TARGET)\helloworld.obj
     171    $(TS_PEC) $(WCC386) -I$(WATCOM)\h\nt -I$(WATCOM)\h -Fo=$(PATH_TARGET)\helloworld.obj \
     172        $(PATH_TARGET)\helloworld.c
    172173    $(TS_TEST_FILE_NZ) $(PATH_TARGET)\helloworld.obj
    173     $(TS_PEC) $(WLINK) FORMAT Window NT \
    174                        FILE $(PATH_TARGET)\helloworld.obj \
    175                        NAME $(PATH_TARGET)\helloworld.exe
     174    echo . & SET LIB=$(WATCOM)\lib386\nt;$(WATCOM)\lib386; && \
     175        $(TS_PEC) $(WLINK) FORMAT Window NT \
     176            FILE $(PATH_TARGET)\helloworld.obj \
     177            NAME $(PATH_TARGET)\helloworld.exe \
     178            LIBPATH $(WATCOM)\lib386\nt;$(WATCOM)\lib386
    176179    $(TS_TEST_FILE_NZ) $(PATH_TARGET)\helloworld.exe
    177     $(TOOL_CP) $(PATH_TARGET)\helloworld.exe .\helloworld.exe
     180    $(TOOL_COPY) $(PATH_TARGET)\helloworld.exe .\helloworld.exe
    178181    $(TS_PEC) .\helloworld.exe > $(PATH_TARGET)\stdout 2> $(PATH_TARGET)\stderr
     182    $(TS_TEST_FILE_NZ) $(PATH_TARGET)\stderr
     183    $(TS_TEST_FILE_NZ) $(PATH_TARGET)\stdout
    179184    $(TS_CMP) $(PATH_TARGET)\stderr <<
    180185Hello stderr
     
    210215#
    211216clean:
    212     $(TOOL_RM) *.log $(PATH_TARGET)\*
     217    $(TOOL_RM) *.log $(PATH_TARGET)\* .\helloworld.exe
    213218
    214219!else
Note: See TracChangeset for help on using the changeset viewer.