| Line |   | 
|---|
| 1 | # $Id: testsuite.tools.mk,v 1.3 2002-06-19 23:17:57 bird Exp $
 | 
|---|
| 2 | 
 | 
|---|
| 3 | #
 | 
|---|
| 4 | # Tools for the testsuite.
 | 
|---|
| 5 | #
 | 
|---|
| 6 | # Note! All macros is prefixed 'TS_'.
 | 
|---|
| 7 | #
 | 
|---|
| 8 | 
 | 
|---|
| 9 | # PE/PEC from Odin.
 | 
|---|
| 10 | TS_PE           = pe.exe
 | 
|---|
| 11 | TS_PEC          = pec.exe
 | 
|---|
| 12 | 
 | 
|---|
| 13 | # UNIX stuff!
 | 
|---|
| 14 | TS_TEST         = test.exe
 | 
|---|
| 15 | TS_TEST_FILE_Z  = $(TS_TEST) ! -s
 | 
|---|
| 16 | TS_TEST_FILE_NZ = $(TS_TEST) -s
 | 
|---|
| 17 | TS_TEST_DIR     = $(TS_TEST) -d
 | 
|---|
| 18 | TS_SED          = sed.exe
 | 
|---|
| 19 | TS_CMP          = cmp.exe
 | 
|---|
| 20 | # UNIX or 4OS2 will not be used in append mode so no '-' vs. '/' problems.
 | 
|---|
| 21 | TS_TEE          = tee
 | 
|---|
| 22 | 
 | 
|---|
| 23 | # dir (files only)
 | 
|---|
| 24 | TS_DIR_B        = dir /B /ON
 | 
|---|
| 25 | 
 | 
|---|
| 26 | # log file and how to execute testcases.
 | 
|---|
| 27 | # (The _1 and _2 macros are the common parts of a TS_EXEC commandline.)
 | 
|---|
| 28 | TS_LOGFILE      = $(PATH_ROOT)\testsuite-$(BUILD_MODE).log
 | 
|---|
| 29 | TS_EXEC         = $(TOOL_REXX) $(PATH_TOOLS)\ExecTestcase.cmd $(TS_LOGFILE)
 | 
|---|
| 30 | TS_EXEC_1       = $(TS_EXEC) $(MAKEFILE)
 | 
|---|
| 31 | TS_EXEC_2       = $(TOOL_MAKE)
 | 
|---|
| 32 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.