Changeset 8745 for trunk/testsuite
- Timestamp:
- Jun 25, 2002, 2:48:00 AM (23 years ago)
- File:
-
- 1 edited
-
trunk/testsuite/cui/watcomc.mak (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/testsuite/cui/watcomc.mak
r8728 r8745 1 # $Id: watcomc.mak,v 1. 2 2002-06-20 02:28:07bird Exp $1 # $Id: watcomc.mak,v 1.3 2002-06-25 00:48:00 bird Exp $ 2 2 3 3 # … … 36 36 WCL386 = $(WATCOM)\binnt\wcl386.exe 37 37 WCC386 = $(WATCOM)\binnt\wcc386.exe 38 WLINK = $(WATCOM)\binnt\wlink.exe38 WLINK = $(WATCOM)\binnt\wlink.exe 39 39 WMAKE = $(WATCOM)\binnt\wmake.exe 40 40 … … 47 47 testcase: $(BIN_FILES) 48 48 @$(ECHO) + Running testcases for WatCom C/C++ v11.0c(beta) $(CLRRST) 49 $(TS_EXEC_1) "wcl386 help" $(TS_EXEC_2) testcase-wcl386-help - doesn work. 50 $(TS_EXEC_1) "wcc386+wlink 'hello world'" $(TS_EXEC_2) testcase-helloworld 49 $(TS_EXEC_1) "wcl386 help" $(TS_EXEC_2) testcase-wcl386-help 50 $(TS_EXEC_1) "wcc386 compile 'hello world'" $(TS_EXEC_2) testcase-compile 51 $(TS_EXEC_1) "wcc386+wlink compile, link and run 'hello world'" $(TS_EXEC_2) testcase-helloworld 52 $(TS_EXEC_1) "wcl386 compile and link 'hello world'" $(TS_EXEC_2) testcase-compile-and-link 51 53 @$(ECHO) + Completed WatCom C/C++ v11.0c(beta)! $(CLRRST) 52 54 … … 57 59 # 58 60 testcase-wcl386-help: $(PATH_TARGET)\wcl386.help.stdout 59 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 61 SET PATH=$(WATCOM)\winnt;$(PATH) 62 -1 $(TS_PEC) $(WCL386) > $(PATH_TARGET)\stdout 2> $(PATH_TARGET)\stderr 62 63 $(TS_TEST_FILE_Z) $(PATH_TARGET)\stderr 63 64 $(TS_TEST_FILE_NZ) $(PATH_TARGET)\stdout … … 161 162 162 163 164 # 165 # Testcase where we try to run compile some simple source. 166 # 167 testcase-compile: $(PATH_TARGET)\helloworld.c 168 SET PATH=$(WATCOM)\winnt;$(PATH) 169 $(TS_PEC) $(WCC386) -I$(WATCOM)\h\nt -I$(WATCOM)\h -Fo=$(PATH_TARGET)\compile.obj \ 170 $(PATH_TARGET)\helloworld.c 171 $(TS_TEST_FILE_NZ) $(PATH_TARGET)\compile.obj 172 173 174 # 175 # Testcase where we try to run compile some simple source. 176 # 177 testcase-compile-and-link: $(PATH_TARGET)\helloworld.c 178 SET PATH=$(WATCOM)\winnt;$(PATH) 179 $(TS_PEC) $(WCL386) -bt=tnt -l=tnt -I$(WATCOM)\h\nt -I$(WATCOM)\h \ 180 -Fo=$(PATH_TARGET)\compileandlink.obj -Fe=$(PATH_TARGET)\compileandlink.exe \ 181 $(PATH_TARGET)\helloworld.c 182 $(TS_TEST_FILE_NZ) $(PATH_TARGET)\compileandlink.obj 183 $(TS_TEST_FILE_NZ) $(PATH_TARGET)\compileandlink.exe 184 163 185 164 186 # … … 172 194 $(PATH_TARGET)\helloworld.c 173 195 $(TS_TEST_FILE_NZ) $(PATH_TARGET)\helloworld.obj 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 196 SET LIB=$(WATCOM)\lib386\nt;$(WATCOM)\lib386; 197 $(TS_PEC) $(WLINK) \ 198 FORMAT Window NT \ 199 FILE $(PATH_TARGET)\helloworld.obj \ 200 NAME $(PATH_TARGET)\helloworld.exe \ 201 LIBPATH $(WATCOM)\lib386\nt;$(WATCOM)\lib386 179 202 $(TS_TEST_FILE_NZ) $(PATH_TARGET)\helloworld.exe 180 203 $(TOOL_COPY) $(PATH_TARGET)\helloworld.exe .\helloworld.exe … … 185 208 Hello stderr 186 209 << 187 $(TS_SED) "s/=$(MAKEDIR:\=\\)\\HELLOWOR D.EXE/HelloWorld.ExE/I" $(PATH_TARGET)\stdout | $(TS_CMP) $(PATH_TARGET)\helloworld.stdout -210 $(TS_SED) "s/=$(MAKEDIR:\=\\)\\HELLOWORLD\.EXE/=HelloWorld\.ExE/I" $(PATH_TARGET)\stdout | $(TS_CMP) $(PATH_TARGET)\helloworld.stdout - 188 211 189 212
Note:
See TracChangeset
for help on using the changeset viewer.
