cvs: php4 /tests tests.dsp tests.mak
| From: | Preston L. Bannister | Date: | Wed, 15 May 2002 23:56:05 +0000 |
| Subject: | cvs: php4 /tests tests.dsp tests.mak | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11944@lists.php.net to get a copy of this message | ||
pbannister Wed May 15 19:56:05 2002 EDT
Added files:
/php4/tests tests.mak tests.dsp
Log:
Win32 project and makefile used to invoke run-tests.php
Index: php4/tests/tests.mak
+++ php4/tests/tests.mak
#
# Win32 Makefile to run the PHP unit tests.
#
# TEST_PHP_EXECUTABLE
# Required - must point to the PHP executable to test.
#
# TEST_PHP_ERROR_STYLE
# Optional - specifies error format to output so IDE can jump to test source and log.
# Values: MSVC (Microsoft Visual C++), Emacs
#
all : run-tests
BIN=Debug_TS
run-tests :
set TEST_PHP_EXECUTABLE=$(BIN)\php-cgi.exe
set TEST_PHP_ERROR_STYLE=MSVC
cd .. && $(BIN)\php-cgi.exe -c tests -f run-tests.php | tee tests.log
Index: php4/tests/tests.dsp
+++ php4/tests/tests.dsp
# Microsoft Developer Studio Project File - Name="tests" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) External Target" 0x0106
CFG=tests - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "tests.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "tests.mak" CFG="tests - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "tests - Win32 Debug" (based on "Win32 (x86) External Target")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "."
# PROP BASE Intermediate_Dir "."
# PROP BASE Cmd_Line "NMAKE /f tests.mak"
# PROP BASE Rebuild_Opt "/a"
# PROP BASE Target_File "tests.exe"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "."
# PROP Intermediate_Dir "."
# PROP Cmd_Line "nmake /nologo /f tests.mak"
# PROP Rebuild_Opt "/a"
# PROP Target_File "__test_run_complete__"
# PROP Bsc_Name ""
# PROP Target_Dir ""
# Begin Target
# Name "tests - Win32 Debug"
!IF "$(CFG)" == "tests - Win32 Debug"
!ENDIF
# Begin Source File
SOURCE="..\run-tests.php"
# End Source File
# Begin Source File
SOURCE=.\tests.mak
# End Source File
# End Target
# End Project