cvs: php-gcov-web /PHP_4_4 build.php build.sh /PHP_5_1 build.php build.sh /PHP_5_2 build.php build.sh /PHP_HEAD build.php build.sh
| From: | Marcus Boerger | Date: | Sat, 27 May 2006 21:04:49 +0000 |
| Subject: | cvs: php-gcov-web /PHP_4_4 build.php build.sh /PHP_5_1 build.php build.sh /PHP_5_2 build.php build.sh /PHP_HEAD build.php build.sh | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-31633@lists.php.net to get a copy of this message | ||
helly Sat May 27 21:04:49 2006 UTC
Added files:
/php-gcov-web/PHP_4_4 build.php build.sh
/php-gcov-web/PHP_5_1 build.php build.sh
/php-gcov-web/PHP_5_2 build.php build.sh
/php-gcov-web/PHP_HEAD build.php build.sh
Log:
- Add build scripts
http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_4_4/build.php?view=markup&rev=1.1 Index: php-gcov-web/PHP_4_4/build.php +++ php-gcov-web/PHP_4_4/build.php <?php require '../main.inc'; require 'mytag.inc'; ?> <html> <head> <title>PHP: Test and Code Coverage analysis of $mytag</title> <link rel="stylesheet" href="/style.css" /> <link rel="shortcut icon" href="/favicon.ico" /> </head> <body bgcolor="#ffffff" text="#000000" link="#000099" alink="#0000ff" vlink="#000099"> <?php include '../header.inc'; ?> <table border="0" cellspacing="0" cellpadding="0"><!-- outer --> <tr> <td align="left" valign="top" width="120" bgcolor="#f0f0f0"> <?php include '../sidebar.inc'; ?> </td> <td bgcolor="#cccccc" background="/images/checkerboard.gif" width="1"><img src="/images/spacer.gif" width="1" height="1" border="0" alt="" /></td> <td align="left" valign="top"> <table cellpadding="10" cellspacing="0" width="100%"><tr><td align="left" valign="top"><!- content --> <h1><?php echo $mytag; ?>: make log (finished)</h1> <pre> <?php fpassthru(fopen(dirname(__FILE__) . '/build.sh', 'r')); ?> </pre> </td> </tr> </table><!-- content --> </td> </tr> </table><!-- outer --> <?php include '../footer.inc'; ?> </body> </html> http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_4_4/build.sh?view=markup&rev=1.1 Index: php-gcov-web/PHP_4_4/build.sh +++ php-gcov-web/PHP_4_4/build.sh #!/bin/sh export PHP_VER=PHP_4_4 export DO_CVS_CLEAN=1 export FROM_SCRATCH=1 export BUILD_SOURCE=1 export USE_VALGRIND=1 export RM_ALL_FIRST=1 export BASE_WEB=/local/Web/sites/php-gcov-web export BASE_COV=/p2/var/php-gcov export BASE_PHP=$BASE_COV/$PHP_VER export PHP_SRC=$BASE_PHP/php-src export PHP_MAK=$BASE_PHP/build export PHP_BIN=$BASE_PHP/bin export PHP_ETC=$BASE_PHP/bin/etc export PHP_HTM=$BASE_PHP/html export PHP_TMP=$BASE_PHP/tmp export PHP_TST=$PHP_HTM/tests export PHP_WEB=$BASE_WEB/$PHP_VER export CCACHE_DISABLE=1 export CC=/usr/bin/gcc export CFLAGS='-Wall -Wno-strict-aliasing -ggdb' export LTP_GENHTML="genhtml --html-prolog ${BASE_WEB}/gcov_prolog.inc --html-epilog ${BASE_WEB}/gcov_epilog.inc --html-extension php --prefix ${BASE_PHP}" export PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test_${PHP_VER}" export PDO_FIREBIRD_TEST_DSN="firebird:dbname=/var/php-gcov/${PHP_VER}/tmp/firebird_test.db" export PDO_FIREBIRD_TEST_USER="SYSDBA" #export PDO_FIREBIRD_TEST_PASS="**" if test "$FROM_SCRATCH" = "1"; then for i in $PHP_MAK; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$BUILD_SOURCE" = "1"; then for i in $PHP_BIN $PHP_ETC; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$RM_ALL_FIRST" = "1"; then for i in $PHP_HTM $PHP_TMP $PHP_TST; do test -d $i && rm -rf $i mkdir -p $i chmod ugo+rwx $i done fi if test "$DO_CVS_CLEAN" = "1"; then cd $PHP_SRC ./cvsclean || exit 1 rm -f ext/standard/var_unserializer.c rm -f ext/standard/url_scanner_ex.c cvs up ./buildconf --force || exit 1 fi if test "$FROM_SCRATCH" = "1"; then cd $PHP_MAK $PHP_SRC/configure \ --prefix=$PHP_BIN \ --with-config-file-path=$PHP_ETC \ --disable-maintainer-zts \ --disable-inline-optimization \ --disable-safe-mode \ --enable-memory-limit \ --disable-magic-quotes \ --enable-gcov \ --enable-cli \ --disable-cgi \ --enable-all \ --without-cpdflib \ --without-crack \ --without-cyrus \ --without-db \ --with-db4 \ --without-fbsql \ --without-fdftk \ --without-fribidi \ --without-hwapi \ --with-imap-ssl \ --without-informix \ --without-ingres \ --with-interbase \ --without-ircg \ --without-java \ --with-kerberos \ --without-libedit \ --without-libexpat-dir \ --without-mcal \ --without-mcve \ --without-ming \ --without-mnogosearch \ --without-msession \ --without-msql \ --without-mssql \ --with-mysql \ --with-mysqli \ --with-openssl \ --without-oci8 \ --without-oci8-instant-client \ --without-oracle \ --without-ovrimos \ --without-pdflib \ --with-pcre-regex \ --without-pfpro \ --without-qtdom \ --without-readline \ --without-recode \ --without-snmp \ --with-sqlite \ --without-swf \ --without-sybase \ --without-sybase-ct \ --without-xsl \ --disable-xslt \ --without-yaz \ --without-zip \ || exit 1 fi if test "$BUILD_SOURCE" = "1"; then cd $PHP_SRC rm -f ext/standard/var_unserializer.c rm -f ext/standard/url_scanner_ex.c cd $PHP_MAK mkdir -p ext/sqlite/libsqlite/src # make ext/standard/parsedate.c # cat ext/standard/parsedate.c | sed 's/^#line.*y\.tab\.c.*$//' > ext/standard/parsedate.new # mv -f ext/standard/parsedate.new ext/standard/parsedate.c make || exit 1 make install || exit 1 fi export TEST_VALGRIND_OPT= test "$USE_VALGRIND" = "1" && export TEST_VALGRIND_OPT="-m " export TEST_PHP_EXECUTABLE=$PHP_BIN/bin/php.bbg export TEST_PHP_SRCDIR=$PHP_TST export TEST_PHP_LOG_FORMAT=LEOD export TEST_PHP_DETAILED=0 export TEST_PHP_USER= export TEST_PHP_ARGS="${TEST_VALGRIND_OPT}-U -n -q --html $PHP_HTM/run-tests.html.inc -s $PHP_HTM/run-tests.gcov.log -w $PHP_HTM/run-tests.fail.lst --temp-source $PHP_SRC --temp-target $PHP_TST --temp-urlbase /$PHP_VER/tests $PHP_SRC" export REPORT_EXIT_STATUS=0 export NO_INTERACTION=1 cd $PHP_MAK make lcov-html || exit 1 test -d $PHP_WEB || mkdir $PHP_WEB test -d $PHP_HTM/lcov || mkdir $PHP_HTM/lcov cp -r $PHP_MAK/lcov_html/* $PHP_HTM/lcov if test -d $PHP_WEB; then cp -r $PHP_HTM/* $PHP_WEB chmod -R ugo+r $PHP_WEB fi http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_5_1/build.php?view=markup&rev=1.1 Index: php-gcov-web/PHP_5_1/build.php +++ php-gcov-web/PHP_5_1/build.php <?php require '../main.inc'; require 'mytag.inc'; ?> <html> <head> <title>PHP: Test and Code Coverage analysis of $mytag</title> <link rel="stylesheet" href="/style.css" /> <link rel="shortcut icon" href="/favicon.ico" /> </head> <body bgcolor="#ffffff" text="#000000" link="#000099" alink="#0000ff" vlink="#000099"> <?php include '../header.inc'; ?> <table border="0" cellspacing="0" cellpadding="0"><!-- outer --> <tr> <td align="left" valign="top" width="120" bgcolor="#f0f0f0"> <?php include '../sidebar.inc'; ?> </td> <td bgcolor="#cccccc" background="/images/checkerboard.gif" width="1"><img src="/images/spacer.gif" width="1" height="1" border="0" alt="" /></td> <td align="left" valign="top"> <table cellpadding="10" cellspacing="0" width="100%"><tr><td align="left" valign="top"><!- content --> <h1><?php echo $mytag; ?>: make log (finished)</h1> <pre> <?php fpassthru(fopen(dirname(__FILE__) . '/build.sh', 'r')); ?> </pre> </td> </tr> </table><!-- content --> </td> </tr> </table><!-- outer --> <?php include '../footer.inc'; ?> </body> </html> http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_5_1/build.sh?view=markup&rev=1.1 Index: php-gcov-web/PHP_5_1/build.sh +++ php-gcov-web/PHP_5_1/build.sh #!/bin/sh export PHP_VER=PHP_5_1 export DO_CVS_CLEAN=1 export FROM_SCRATCH=1 export BUILD_SOURCE=1 export USE_VALGRIND=1 export RM_ALL_FIRST=1 export BASE_WEB=/local/Web/sites/php-gcov-web export BASE_COV=/p2/var/php-gcov export BASE_PHP=$BASE_COV/$PHP_VER export PHP_SRC=$BASE_PHP/php-src export PHP_MAK=$BASE_PHP/build export PHP_BIN=$BASE_PHP/bin export PHP_ETC=$BASE_PHP/bin/etc export PHP_HTM=$BASE_PHP/html export PHP_TMP=$BASE_PHP/tmp export PHP_TST=$PHP_HTM/tests export PHP_WEB=$BASE_WEB/$PHP_VER export CCACHE_DISABLE=1 export CC=/usr/bin/gcc export CFLAGS='-Wall -Wno-strict-aliasing -ggdb' export LTP_GENHTML="genhtml --html-prolog ${BASE_WEB}/gcov_prolog.inc --html-epilog ${BASE_WEB}/gcov_epilog.inc --html-extension php --prefix ${BASE_PHP}" export PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test_${PHP_VER}" export PDO_FIREBIRD_TEST_DSN="firebird:dbname=/var/php-gcov/${PHP_VER}/tmp/firebird_test.db" export PDO_FIREBIRD_TEST_USER="SYSDBA" #export PDO_FIREBIRD_TEST_PASS="***" if test "$FROM_SCRATCH" = "1"; then for i in $PHP_MAK; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$BUILD_SOURCE" = "1"; then for i in $PHP_BIN $PHP_ETC; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$RM_ALL_FIRST" = "1"; then for i in $PHP_HTM $PHP_TMP $PHP_TST; do test -d $i && rm -rf $i mkdir -p $i chmod ugo+rwx $i done fi if test "$DO_CVS_CLEAN" = "1"; then cd $PHP_SRC ./cvsclean || exit 1 cvs up ./buildconf --force || exit 1 fi if test "$FROM_SCRATCH" = "1"; then cd $PHP_MAK $PHP_SRC/configure \ --prefix=$PHP_BIN \ --with-config-file-path=$PHP_ETC \ --disable-maintainer-zts \ --disable-inline-optimization \ --disable-safe-mode \ --enable-memory-limit \ --disable-magic-quotes \ --enable-gcov \ --enable-cli \ --disable-cgi \ --enable-all \ --enable-apc \ --enable-apc-mmap \ --with-bz2 \ --with-db4 \ --without-fbsql \ --without-fdftk \ --disable-gdchart \ --without-hwapi \ --with-imap-ssl \ --without-informix \ --without-interbase \ --with-kerberos \ --without-libedit \ --without-libexpat-dir \ --without-ming \ --without-msession \ --without-msql \ --without-mssql \ --with-mysql \ --with-mysqli \ --with-openssl \ --without-oci8 \ --with-pcre-regex \ --without-oracle \ --without-pdo-dblib \ --without-pdo-firebird \ --with-pdo-mysql \ --without-pdo-odbc \ --without-pdo-oci \ --with-pdo-sqlite \ --without-readline \ --without-recode \ --without-snmp \ --with-sqlite \ --without-sybase \ --without-sybase-ct \ --with-xsl \ || exit 1 fi if test "$BUILD_SOURCE" = "1"; then cd $PHP_MAK mkdir -p ext/sqlite/libsqlite/src make || exit 1 make install || exit 1 fi export TEST_VALGRIND_OPT= test "$USE_VALGRIND" = "1" && export TEST_VALGRIND_OPT="-m " export TEST_PHP_EXECUTABLE=$PHP_BIN/bin/php.bbg export TEST_PHP_SRCDIR=$PHP_TST export TEST_PHP_LOG_FORMAT=LEOD export TEST_PHP_DETAILED=0 export TEST_PHP_USER= export TEST_PHP_ARGS="${TEST_VALGRIND_OPT}-U -n -q --html $PHP_HTM/run-tests.html.inc -s $PHP_HTM/run-tests.gcov.log -w $PHP_HTM/run-tests.fail.lst --temp-source $PHP_SRC --temp-target $PHP_TST --temp-urlbase /$PHP_VER/tests $PHP_SRC" export REPORT_EXIT_STATUS=0 export NO_INTERACTION=1 cd $PHP_MAK make lcov-html || exit 1 test -d $PHP_WEB || mkdir $PHP_WEB test -d $PHP_HTM/lcov || mkdir $PHP_HTM/lcov cp -r $PHP_MAK/lcov_html/* $PHP_HTM/lcov if test -d $PHP_WEB; then cp -r $PHP_HTM/* $PHP_WEB chmod -R ugo+r $PHP_WEB fi http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_5_2/build.php?view=markup&rev=1.1 Index: php-gcov-web/PHP_5_2/build.php +++ php-gcov-web/PHP_5_2/build.php <?php require '../main.inc'; require 'mytag.inc'; ?> <html> <head> <title>PHP: Test and Code Coverage analysis of $mytag</title> <link rel="stylesheet" href="/style.css" /> <link rel="shortcut icon" href="/favicon.ico" /> </head> <body bgcolor="#ffffff" text="#000000" link="#000099" alink="#0000ff" vlink="#000099"> <?php include '../header.inc'; ?> <table border="0" cellspacing="0" cellpadding="0"><!-- outer --> <tr> <td align="left" valign="top" width="120" bgcolor="#f0f0f0"> <?php include '../sidebar.inc'; ?> </td> <td bgcolor="#cccccc" background="/images/checkerboard.gif" width="1"><img src="/images/spacer.gif" width="1" height="1" border="0" alt="" /></td> <td align="left" valign="top"> <table cellpadding="10" cellspacing="0" width="100%"><tr><td align="left" valign="top"><!- content --> <h1><?php echo $mytag; ?>: make log (finished)</h1> <pre> <?php fpassthru(fopen(dirname(__FILE__) . '/build.sh', 'r')); ?> </pre> </td> </tr> </table><!-- content --> </td> </tr> </table><!-- outer --> <?php include '../footer.inc'; ?> </body> </html> http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_5_2/build.sh?view=markup&rev=1.1 Index: php-gcov-web/PHP_5_2/build.sh +++ php-gcov-web/PHP_5_2/build.sh #!/bin/sh export PHP_VER=PHP_5_2 export DO_CVS_CLEAN=1 export FROM_SCRATCH=1 export BUILD_SOURCE=1 export USE_VALGRIND=1 export RM_ALL_FIRST=1 export BASE_WEB=/local/Web/sites/php-gcov-web export BASE_COV=/p2/var/php-gcov export BASE_PHP=$BASE_COV/$PHP_VER export PHP_SRC=$BASE_PHP/php-src export PHP_MAK=$BASE_PHP/build export PHP_BIN=$BASE_PHP/bin export PHP_ETC=$BASE_PHP/bin/etc export PHP_HTM=$BASE_PHP/html export PHP_TMP=$BASE_PHP/tmp export PHP_TST=$PHP_HTM/tests export PHP_WEB=$BASE_WEB/$PHP_VER export CCACHE_DISABLE=1 export CC=/usr/bin/gcc export CFLAGS='-Wall -Wno-strict-aliasing -ggdb' export LTP_GENHTML="genhtml --html-prolog ${BASE_WEB}/gcov_prolog.inc --html-epilog ${BASE_WEB}/gcov_epilog.inc --html-extension php --prefix ${BASE_PHP}" export PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test_${PHP_VER}" export PDO_FIREBIRD_TEST_DSN="firebird:dbname=/var/php-gcov/${PHP_VER}/tmp/firebird_test.db" export PDO_FIREBIRD_TEST_USER="SYSDBA" #export PDO_FIREBIRD_TEST_PASS="***" if test "$FROM_SCRATCH" = "1"; then for i in $PHP_MAK; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$BUILD_SOURCE" = "1"; then for i in $PHP_BIN $PHP_ETC; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$RM_ALL_FIRST" = "1"; then for i in $PHP_HTM $PHP_TMP $PHP_TST; do test -d $i && rm -rf $i mkdir -p $i chmod ugo+rwx $i done fi if test "$DO_CVS_CLEAN" = "1"; then cd $PHP_SRC ./cvsclean || exit 1 cvs up ./buildconf --force || exit 1 fi if test "$FROM_SCRATCH" = "1"; then cd $PHP_MAK $PHP_SRC/configure \ --prefix=$PHP_BIN \ --with-config-file-path=$PHP_ETC \ --disable-maintainer-zts \ --disable-inline-optimization \ --disable-safe-mode \ --enable-memory-limit \ --disable-magic-quotes \ --enable-gcov \ --enable-cli \ --disable-cgi \ --enable-all \ --enable-apc \ --enable-apc-mmap \ --enable-apc-sem \ --with-bz2 \ --with-db4 \ --without-fbsql \ --without-fdftk \ --disable-gdchart \ --without-hwapi \ --with-imap-ssl \ --without-informix \ --without-interbase \ --with-kerberos \ --without-libedit \ --without-libexpat-dir \ --without-ming \ --without-msession \ --without-msql \ --without-mssql \ --with-mysql \ --with-mysqli \ --with-openssl \ --without-oci8 \ --with-pcre-regex \ --without-oracle \ --without-pdo-dblib \ --without-pdo-firebird \ --with-pdo-mysql \ --without-pdo-odbc \ --without-pdo-oci \ --with-pdo-sqlite \ --without-readline \ --without-recode \ --without-snmp \ --with-sqlite \ --without-sybase \ --without-sybase-ct \ --with-xsl \ || exit 1 fi if test "$BUILD_SOURCE" = "1"; then cd $PHP_MAK mkdir -p ext/sqlite/libsqlite/src make || exit 1 make install || exit 1 fi export TEST_VALGRIND_OPT= test "$USE_VALGRIND" = "1" && export TEST_VALGRIND_OPT="-m " export TEST_PHP_EXECUTABLE=$PHP_BIN/bin/php.bbg export TEST_PHP_SRCDIR=$PHP_TST export TEST_PHP_LOG_FORMAT=LEOD export TEST_PHP_DETAILED=0 export TEST_PHP_USER= export TEST_PHP_ARGS="${TEST_VALGRIND_OPT}-U -n -q --html $PHP_HTM/run-tests.html.inc -s $PHP_HTM/run-tests.gcov.log -w $PHP_HTM/run-tests.fail.lst --temp-source $PHP_SRC --temp-target $PHP_TST --temp-urlbase /$PHP_VER/tests $PHP_SRC" export REPORT_EXIT_STATUS=0 export NO_INTERACTION=1 cd $PHP_MAK make lcov-html || exit 1 test -d $PHP_WEB || mkdir $PHP_WEB test -d $PHP_HTM/lcov || mkdir $PHP_HTM/lcov cp -r $PHP_MAK/lcov_html/* $PHP_HTM/lcov if test -d $PHP_WEB; then cp -r $PHP_HTM/* $PHP_WEB chmod -R ugo+r $PHP_WEB fi http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_HEAD/build.php?view=markup&rev=1.1 Index: php-gcov-web/PHP_HEAD/build.php +++ php-gcov-web/PHP_HEAD/build.php <?php require '../main.inc'; require 'mytag.inc'; ?> <html> <head> <title>PHP: Test and Code Coverage analysis of $mytag</title> <link rel="stylesheet" href="/style.css" /> <link rel="shortcut icon" href="/favicon.ico" /> </head> <body bgcolor="#ffffff" text="#000000" link="#000099" alink="#0000ff" vlink="#000099"> <?php include '../header.inc'; ?> <table border="0" cellspacing="0" cellpadding="0"><!-- outer --> <tr> <td align="left" valign="top" width="120" bgcolor="#f0f0f0"> <?php include '../sidebar.inc'; ?> </td> <td bgcolor="#cccccc" background="/images/checkerboard.gif" width="1"><img src="/images/spacer.gif" width="1" height="1" border="0" alt="" /></td> <td align="left" valign="top"> <table cellpadding="10" cellspacing="0" width="100%"><tr><td align="left" valign="top"><!- content --> <h1><?php echo $mytag; ?>: make log (finished)</h1> <pre> <?php fpassthru(fopen(dirname(__FILE__) . '/build.sh', 'r')); ?> </pre> </td> </tr> </table><!-- content --> </td> </tr> </table><!-- outer --> <?php include '../footer.inc'; ?> </body> </html> http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_HEAD/build.sh?view=markup&rev=1.1 Index: php-gcov-web/PHP_HEAD/build.sh +++ php-gcov-web/PHP_HEAD/build.sh #!/bin/sh export PHP_VER=PHP_HEAD export DO_CVS_CLEAN=1 export FROM_SCRATCH=1 export BUILD_SOURCE=1 export USE_VALGRIND=1 export RM_ALL_FIRST=1 export BASE_WEB=/local/Web/sites/php-gcov-web export BASE_COV=/p2/var/php-gcov export BASE_PHP=$BASE_COV/$PHP_VER export PHP_SRC=$BASE_PHP/php-src export PHP_MAK=$BASE_PHP/build export PHP_BIN=$BASE_PHP/bin export PHP_ETC=$BASE_PHP/bin/etc export PHP_HTM=$BASE_PHP/html export PHP_TMP=$BASE_PHP/tmp export PHP_TST=$PHP_HTM/tests export PHP_WEB=$BASE_WEB/$PHP_VER export CCACHE_DISABLE=1 export CC=/usr/bin/gcc export CFLAGS='-Wall -Wno-strict-aliasing -ggdb' export LTP_GENHTML="genhtml --html-prolog ${BASE_WEB}/gcov_prolog.inc --html-epilog ${BASE_WEB}/gcov_epilog.inc --html-extension php --prefix ${BASE_PHP}" export PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test_${PHP_VER}" export PDO_FIREBIRD_TEST_DSN="firebird:dbname=/var/php-gcov/${PHP_VER}/tmp/firebird_test.db" export PDO_FIREBIRD_TEST_USER="SYSDBA" #export PDO_FIREBIRD_TEST_PASS="***" if test "$FROM_SCRATCH" = "1"; then for i in $PHP_MAK; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$BUILD_SOURCE" = "1"; then for i in $PHP_BIN $PHP_ETC; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$RM_ALL_FIRST" = "1"; then for i in $PHP_HTM $PHP_TMP $PHP_TST; do test -d $i && rm -rf $i mkdir -p $i chmod ugo+rwx $i done fi if test "$DO_CVS_CLEAN" = "1"; then cd $PHP_SRC ./cvsclean || exit 1 cvs up ./buildconf --force || exit 1 fi if test "$FROM_SCRATCH" = "1"; then cd $PHP_MAK $PHP_SRC/configure \ --prefix=$PHP_BIN \ --with-config-file-path=$PHP_ETC \ --disable-maintainer-zts \ --disable-inline-optimization \ --disable-safe-mode \ --enable-memory-limit \ --disable-magic-quotes \ --enable-gcov \ --enable-cli \ --disable-cgi \ --enable-all \ --with-db4 \ --without-fbsql \ --without-fdftk \ --without-hwapi \ --with-imap-ssl \ --without-informix \ --with-interbase \ --with-kerberos \ --without-libedit \ --without-libexpat-dir \ --disable-mbregex \ --without-ming \ --without-msession \ --without-msql \ --without-mssql \ --with-mysql \ --with-mysqli \ --with-openssl \ --without-oci8 \ --with-pcre-regex \ --without-oracle \ --without-pdo-dblib \ --with-pdo-firebird \ --with-pdo-mysql \ --without-pdo-odbc \ --without-pdo-oci \ --with-pdo-sqlite \ --without-readline \ --without-recode \ --without-snmp \ --with-sqlite=/usr \ --without-sybase \ --without-sybase-ct \ --with-xsl \ || exit 1 fi if test "$BUILD_SOURCE" = "1"; then cd $PHP_MAK mkdir -p ext/sqlite/libsqlite/src make || exit 1 make install || exit 1 fi export TEST_VALGRIND_OPT= test "$USE_VALGRIND" = "1" && export TEST_VALGRIND_OPT="-m " export TEST_PHP_EXECUTABLE=$PHP_BIN/bin/php.bbg export TEST_PHP_SRCDIR=$PHP_TST export TEST_PHP_LOG_FORMAT=LEOD export TEST_PHP_DETAILED=0 export TEST_PHP_USER= export TEST_PHP_ARGS="${TEST_VALGRIND_OPT}-U -n -q --html $PHP_HTM/run-tests.html.inc -s $PHP_HTM/run-tests.gcov.log -w $PHP_HTM/run-tests.fail.lst --temp-source $PHP_SRC --temp-target $PHP_TST --temp-urlbase /$PHP_VER/tests $PHP_SRC" export REPORT_EXIT_STATUS=0 export NO_INTERACTION=1 cd $PHP_MAK make lcov-html || exit 1 test -d $PHP_WEB || mkdir $PHP_WEB test -d $PHP_HTM/lcov || mkdir $PHP_HTM/lcov cp -r $PHP_MAK/lcov_html/* $PHP_HTM/lcov if test -d $PHP_WEB; then cp -r $PHP_HTM/* $PHP_WEB chmod -R ugo+r $PHP_WEB fi
http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_4_4/build.php?view=markup&rev=1.1 Index: php-gcov-web/PHP_4_4/build.php +++ php-gcov-web/PHP_4_4/build.php <?php require '../main.inc'; require 'mytag.inc'; ?> <html> <head> <title>PHP: Test and Code Coverage analysis of $mytag</title> <link rel="stylesheet" href="/style.css" /> <link rel="shortcut icon" href="/favicon.ico" /> </head> <body bgcolor="#ffffff" text="#000000" link="#000099" alink="#0000ff" vlink="#000099"> <?php include '../header.inc'; ?> <table border="0" cellspacing="0" cellpadding="0"><!-- outer --> <tr> <td align="left" valign="top" width="120" bgcolor="#f0f0f0"> <?php include '../sidebar.inc'; ?> </td> <td bgcolor="#cccccc" background="/images/checkerboard.gif" width="1"><img src="/images/spacer.gif" width="1" height="1" border="0" alt="" /></td> <td align="left" valign="top"> <table cellpadding="10" cellspacing="0" width="100%"><tr><td align="left" valign="top"><!- content --> <h1><?php echo $mytag; ?>: make log (finished)</h1> <pre> <?php fpassthru(fopen(dirname(__FILE__) . '/build.sh', 'r')); ?> </pre> </td> </tr> </table><!-- content --> </td> </tr> </table><!-- outer --> <?php include '../footer.inc'; ?> </body> </html> http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_4_4/build.sh?view=markup&rev=1.1 Index: php-gcov-web/PHP_4_4/build.sh +++ php-gcov-web/PHP_4_4/build.sh #!/bin/sh export PHP_VER=PHP_4_4 export DO_CVS_CLEAN=1 export FROM_SCRATCH=1 export BUILD_SOURCE=1 export USE_VALGRIND=1 export RM_ALL_FIRST=1 export BASE_WEB=/local/Web/sites/php-gcov-web export BASE_COV=/p2/var/php-gcov export BASE_PHP=$BASE_COV/$PHP_VER export PHP_SRC=$BASE_PHP/php-src export PHP_MAK=$BASE_PHP/build export PHP_BIN=$BASE_PHP/bin export PHP_ETC=$BASE_PHP/bin/etc export PHP_HTM=$BASE_PHP/html export PHP_TMP=$BASE_PHP/tmp export PHP_TST=$PHP_HTM/tests export PHP_WEB=$BASE_WEB/$PHP_VER export CCACHE_DISABLE=1 export CC=/usr/bin/gcc export CFLAGS='-Wall -Wno-strict-aliasing -ggdb' export LTP_GENHTML="genhtml --html-prolog ${BASE_WEB}/gcov_prolog.inc --html-epilog ${BASE_WEB}/gcov_epilog.inc --html-extension php --prefix ${BASE_PHP}" export PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test_${PHP_VER}" export PDO_FIREBIRD_TEST_DSN="firebird:dbname=/var/php-gcov/${PHP_VER}/tmp/firebird_test.db" export PDO_FIREBIRD_TEST_USER="SYSDBA" #export PDO_FIREBIRD_TEST_PASS="**" if test "$FROM_SCRATCH" = "1"; then for i in $PHP_MAK; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$BUILD_SOURCE" = "1"; then for i in $PHP_BIN $PHP_ETC; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$RM_ALL_FIRST" = "1"; then for i in $PHP_HTM $PHP_TMP $PHP_TST; do test -d $i && rm -rf $i mkdir -p $i chmod ugo+rwx $i done fi if test "$DO_CVS_CLEAN" = "1"; then cd $PHP_SRC ./cvsclean || exit 1 rm -f ext/standard/var_unserializer.c rm -f ext/standard/url_scanner_ex.c cvs up ./buildconf --force || exit 1 fi if test "$FROM_SCRATCH" = "1"; then cd $PHP_MAK $PHP_SRC/configure \ --prefix=$PHP_BIN \ --with-config-file-path=$PHP_ETC \ --disable-maintainer-zts \ --disable-inline-optimization \ --disable-safe-mode \ --enable-memory-limit \ --disable-magic-quotes \ --enable-gcov \ --enable-cli \ --disable-cgi \ --enable-all \ --without-cpdflib \ --without-crack \ --without-cyrus \ --without-db \ --with-db4 \ --without-fbsql \ --without-fdftk \ --without-fribidi \ --without-hwapi \ --with-imap-ssl \ --without-informix \ --without-ingres \ --with-interbase \ --without-ircg \ --without-java \ --with-kerberos \ --without-libedit \ --without-libexpat-dir \ --without-mcal \ --without-mcve \ --without-ming \ --without-mnogosearch \ --without-msession \ --without-msql \ --without-mssql \ --with-mysql \ --with-mysqli \ --with-openssl \ --without-oci8 \ --without-oci8-instant-client \ --without-oracle \ --without-ovrimos \ --without-pdflib \ --with-pcre-regex \ --without-pfpro \ --without-qtdom \ --without-readline \ --without-recode \ --without-snmp \ --with-sqlite \ --without-swf \ --without-sybase \ --without-sybase-ct \ --without-xsl \ --disable-xslt \ --without-yaz \ --without-zip \ || exit 1 fi if test "$BUILD_SOURCE" = "1"; then cd $PHP_SRC rm -f ext/standard/var_unserializer.c rm -f ext/standard/url_scanner_ex.c cd $PHP_MAK mkdir -p ext/sqlite/libsqlite/src # make ext/standard/parsedate.c # cat ext/standard/parsedate.c | sed 's/^#line.*y\.tab\.c.*$//' > ext/standard/parsedate.new # mv -f ext/standard/parsedate.new ext/standard/parsedate.c make || exit 1 make install || exit 1 fi export TEST_VALGRIND_OPT= test "$USE_VALGRIND" = "1" && export TEST_VALGRIND_OPT="-m " export TEST_PHP_EXECUTABLE=$PHP_BIN/bin/php.bbg export TEST_PHP_SRCDIR=$PHP_TST export TEST_PHP_LOG_FORMAT=LEOD export TEST_PHP_DETAILED=0 export TEST_PHP_USER= export TEST_PHP_ARGS="${TEST_VALGRIND_OPT}-U -n -q --html $PHP_HTM/run-tests.html.inc -s $PHP_HTM/run-tests.gcov.log -w $PHP_HTM/run-tests.fail.lst --temp-source $PHP_SRC --temp-target $PHP_TST --temp-urlbase /$PHP_VER/tests $PHP_SRC" export REPORT_EXIT_STATUS=0 export NO_INTERACTION=1 cd $PHP_MAK make lcov-html || exit 1 test -d $PHP_WEB || mkdir $PHP_WEB test -d $PHP_HTM/lcov || mkdir $PHP_HTM/lcov cp -r $PHP_MAK/lcov_html/* $PHP_HTM/lcov if test -d $PHP_WEB; then cp -r $PHP_HTM/* $PHP_WEB chmod -R ugo+r $PHP_WEB fi http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_5_1/build.php?view=markup&rev=1.1 Index: php-gcov-web/PHP_5_1/build.php +++ php-gcov-web/PHP_5_1/build.php <?php require '../main.inc'; require 'mytag.inc'; ?> <html> <head> <title>PHP: Test and Code Coverage analysis of $mytag</title> <link rel="stylesheet" href="/style.css" /> <link rel="shortcut icon" href="/favicon.ico" /> </head> <body bgcolor="#ffffff" text="#000000" link="#000099" alink="#0000ff" vlink="#000099"> <?php include '../header.inc'; ?> <table border="0" cellspacing="0" cellpadding="0"><!-- outer --> <tr> <td align="left" valign="top" width="120" bgcolor="#f0f0f0"> <?php include '../sidebar.inc'; ?> </td> <td bgcolor="#cccccc" background="/images/checkerboard.gif" width="1"><img src="/images/spacer.gif" width="1" height="1" border="0" alt="" /></td> <td align="left" valign="top"> <table cellpadding="10" cellspacing="0" width="100%"><tr><td align="left" valign="top"><!- content --> <h1><?php echo $mytag; ?>: make log (finished)</h1> <pre> <?php fpassthru(fopen(dirname(__FILE__) . '/build.sh', 'r')); ?> </pre> </td> </tr> </table><!-- content --> </td> </tr> </table><!-- outer --> <?php include '../footer.inc'; ?> </body> </html> http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_5_1/build.sh?view=markup&rev=1.1 Index: php-gcov-web/PHP_5_1/build.sh +++ php-gcov-web/PHP_5_1/build.sh #!/bin/sh export PHP_VER=PHP_5_1 export DO_CVS_CLEAN=1 export FROM_SCRATCH=1 export BUILD_SOURCE=1 export USE_VALGRIND=1 export RM_ALL_FIRST=1 export BASE_WEB=/local/Web/sites/php-gcov-web export BASE_COV=/p2/var/php-gcov export BASE_PHP=$BASE_COV/$PHP_VER export PHP_SRC=$BASE_PHP/php-src export PHP_MAK=$BASE_PHP/build export PHP_BIN=$BASE_PHP/bin export PHP_ETC=$BASE_PHP/bin/etc export PHP_HTM=$BASE_PHP/html export PHP_TMP=$BASE_PHP/tmp export PHP_TST=$PHP_HTM/tests export PHP_WEB=$BASE_WEB/$PHP_VER export CCACHE_DISABLE=1 export CC=/usr/bin/gcc export CFLAGS='-Wall -Wno-strict-aliasing -ggdb' export LTP_GENHTML="genhtml --html-prolog ${BASE_WEB}/gcov_prolog.inc --html-epilog ${BASE_WEB}/gcov_epilog.inc --html-extension php --prefix ${BASE_PHP}" export PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test_${PHP_VER}" export PDO_FIREBIRD_TEST_DSN="firebird:dbname=/var/php-gcov/${PHP_VER}/tmp/firebird_test.db" export PDO_FIREBIRD_TEST_USER="SYSDBA" #export PDO_FIREBIRD_TEST_PASS="***" if test "$FROM_SCRATCH" = "1"; then for i in $PHP_MAK; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$BUILD_SOURCE" = "1"; then for i in $PHP_BIN $PHP_ETC; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$RM_ALL_FIRST" = "1"; then for i in $PHP_HTM $PHP_TMP $PHP_TST; do test -d $i && rm -rf $i mkdir -p $i chmod ugo+rwx $i done fi if test "$DO_CVS_CLEAN" = "1"; then cd $PHP_SRC ./cvsclean || exit 1 cvs up ./buildconf --force || exit 1 fi if test "$FROM_SCRATCH" = "1"; then cd $PHP_MAK $PHP_SRC/configure \ --prefix=$PHP_BIN \ --with-config-file-path=$PHP_ETC \ --disable-maintainer-zts \ --disable-inline-optimization \ --disable-safe-mode \ --enable-memory-limit \ --disable-magic-quotes \ --enable-gcov \ --enable-cli \ --disable-cgi \ --enable-all \ --enable-apc \ --enable-apc-mmap \ --with-bz2 \ --with-db4 \ --without-fbsql \ --without-fdftk \ --disable-gdchart \ --without-hwapi \ --with-imap-ssl \ --without-informix \ --without-interbase \ --with-kerberos \ --without-libedit \ --without-libexpat-dir \ --without-ming \ --without-msession \ --without-msql \ --without-mssql \ --with-mysql \ --with-mysqli \ --with-openssl \ --without-oci8 \ --with-pcre-regex \ --without-oracle \ --without-pdo-dblib \ --without-pdo-firebird \ --with-pdo-mysql \ --without-pdo-odbc \ --without-pdo-oci \ --with-pdo-sqlite \ --without-readline \ --without-recode \ --without-snmp \ --with-sqlite \ --without-sybase \ --without-sybase-ct \ --with-xsl \ || exit 1 fi if test "$BUILD_SOURCE" = "1"; then cd $PHP_MAK mkdir -p ext/sqlite/libsqlite/src make || exit 1 make install || exit 1 fi export TEST_VALGRIND_OPT= test "$USE_VALGRIND" = "1" && export TEST_VALGRIND_OPT="-m " export TEST_PHP_EXECUTABLE=$PHP_BIN/bin/php.bbg export TEST_PHP_SRCDIR=$PHP_TST export TEST_PHP_LOG_FORMAT=LEOD export TEST_PHP_DETAILED=0 export TEST_PHP_USER= export TEST_PHP_ARGS="${TEST_VALGRIND_OPT}-U -n -q --html $PHP_HTM/run-tests.html.inc -s $PHP_HTM/run-tests.gcov.log -w $PHP_HTM/run-tests.fail.lst --temp-source $PHP_SRC --temp-target $PHP_TST --temp-urlbase /$PHP_VER/tests $PHP_SRC" export REPORT_EXIT_STATUS=0 export NO_INTERACTION=1 cd $PHP_MAK make lcov-html || exit 1 test -d $PHP_WEB || mkdir $PHP_WEB test -d $PHP_HTM/lcov || mkdir $PHP_HTM/lcov cp -r $PHP_MAK/lcov_html/* $PHP_HTM/lcov if test -d $PHP_WEB; then cp -r $PHP_HTM/* $PHP_WEB chmod -R ugo+r $PHP_WEB fi http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_5_2/build.php?view=markup&rev=1.1 Index: php-gcov-web/PHP_5_2/build.php +++ php-gcov-web/PHP_5_2/build.php <?php require '../main.inc'; require 'mytag.inc'; ?> <html> <head> <title>PHP: Test and Code Coverage analysis of $mytag</title> <link rel="stylesheet" href="/style.css" /> <link rel="shortcut icon" href="/favicon.ico" /> </head> <body bgcolor="#ffffff" text="#000000" link="#000099" alink="#0000ff" vlink="#000099"> <?php include '../header.inc'; ?> <table border="0" cellspacing="0" cellpadding="0"><!-- outer --> <tr> <td align="left" valign="top" width="120" bgcolor="#f0f0f0"> <?php include '../sidebar.inc'; ?> </td> <td bgcolor="#cccccc" background="/images/checkerboard.gif" width="1"><img src="/images/spacer.gif" width="1" height="1" border="0" alt="" /></td> <td align="left" valign="top"> <table cellpadding="10" cellspacing="0" width="100%"><tr><td align="left" valign="top"><!- content --> <h1><?php echo $mytag; ?>: make log (finished)</h1> <pre> <?php fpassthru(fopen(dirname(__FILE__) . '/build.sh', 'r')); ?> </pre> </td> </tr> </table><!-- content --> </td> </tr> </table><!-- outer --> <?php include '../footer.inc'; ?> </body> </html> http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_5_2/build.sh?view=markup&rev=1.1 Index: php-gcov-web/PHP_5_2/build.sh +++ php-gcov-web/PHP_5_2/build.sh #!/bin/sh export PHP_VER=PHP_5_2 export DO_CVS_CLEAN=1 export FROM_SCRATCH=1 export BUILD_SOURCE=1 export USE_VALGRIND=1 export RM_ALL_FIRST=1 export BASE_WEB=/local/Web/sites/php-gcov-web export BASE_COV=/p2/var/php-gcov export BASE_PHP=$BASE_COV/$PHP_VER export PHP_SRC=$BASE_PHP/php-src export PHP_MAK=$BASE_PHP/build export PHP_BIN=$BASE_PHP/bin export PHP_ETC=$BASE_PHP/bin/etc export PHP_HTM=$BASE_PHP/html export PHP_TMP=$BASE_PHP/tmp export PHP_TST=$PHP_HTM/tests export PHP_WEB=$BASE_WEB/$PHP_VER export CCACHE_DISABLE=1 export CC=/usr/bin/gcc export CFLAGS='-Wall -Wno-strict-aliasing -ggdb' export LTP_GENHTML="genhtml --html-prolog ${BASE_WEB}/gcov_prolog.inc --html-epilog ${BASE_WEB}/gcov_epilog.inc --html-extension php --prefix ${BASE_PHP}" export PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test_${PHP_VER}" export PDO_FIREBIRD_TEST_DSN="firebird:dbname=/var/php-gcov/${PHP_VER}/tmp/firebird_test.db" export PDO_FIREBIRD_TEST_USER="SYSDBA" #export PDO_FIREBIRD_TEST_PASS="***" if test "$FROM_SCRATCH" = "1"; then for i in $PHP_MAK; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$BUILD_SOURCE" = "1"; then for i in $PHP_BIN $PHP_ETC; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$RM_ALL_FIRST" = "1"; then for i in $PHP_HTM $PHP_TMP $PHP_TST; do test -d $i && rm -rf $i mkdir -p $i chmod ugo+rwx $i done fi if test "$DO_CVS_CLEAN" = "1"; then cd $PHP_SRC ./cvsclean || exit 1 cvs up ./buildconf --force || exit 1 fi if test "$FROM_SCRATCH" = "1"; then cd $PHP_MAK $PHP_SRC/configure \ --prefix=$PHP_BIN \ --with-config-file-path=$PHP_ETC \ --disable-maintainer-zts \ --disable-inline-optimization \ --disable-safe-mode \ --enable-memory-limit \ --disable-magic-quotes \ --enable-gcov \ --enable-cli \ --disable-cgi \ --enable-all \ --enable-apc \ --enable-apc-mmap \ --enable-apc-sem \ --with-bz2 \ --with-db4 \ --without-fbsql \ --without-fdftk \ --disable-gdchart \ --without-hwapi \ --with-imap-ssl \ --without-informix \ --without-interbase \ --with-kerberos \ --without-libedit \ --without-libexpat-dir \ --without-ming \ --without-msession \ --without-msql \ --without-mssql \ --with-mysql \ --with-mysqli \ --with-openssl \ --without-oci8 \ --with-pcre-regex \ --without-oracle \ --without-pdo-dblib \ --without-pdo-firebird \ --with-pdo-mysql \ --without-pdo-odbc \ --without-pdo-oci \ --with-pdo-sqlite \ --without-readline \ --without-recode \ --without-snmp \ --with-sqlite \ --without-sybase \ --without-sybase-ct \ --with-xsl \ || exit 1 fi if test "$BUILD_SOURCE" = "1"; then cd $PHP_MAK mkdir -p ext/sqlite/libsqlite/src make || exit 1 make install || exit 1 fi export TEST_VALGRIND_OPT= test "$USE_VALGRIND" = "1" && export TEST_VALGRIND_OPT="-m " export TEST_PHP_EXECUTABLE=$PHP_BIN/bin/php.bbg export TEST_PHP_SRCDIR=$PHP_TST export TEST_PHP_LOG_FORMAT=LEOD export TEST_PHP_DETAILED=0 export TEST_PHP_USER= export TEST_PHP_ARGS="${TEST_VALGRIND_OPT}-U -n -q --html $PHP_HTM/run-tests.html.inc -s $PHP_HTM/run-tests.gcov.log -w $PHP_HTM/run-tests.fail.lst --temp-source $PHP_SRC --temp-target $PHP_TST --temp-urlbase /$PHP_VER/tests $PHP_SRC" export REPORT_EXIT_STATUS=0 export NO_INTERACTION=1 cd $PHP_MAK make lcov-html || exit 1 test -d $PHP_WEB || mkdir $PHP_WEB test -d $PHP_HTM/lcov || mkdir $PHP_HTM/lcov cp -r $PHP_MAK/lcov_html/* $PHP_HTM/lcov if test -d $PHP_WEB; then cp -r $PHP_HTM/* $PHP_WEB chmod -R ugo+r $PHP_WEB fi http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_HEAD/build.php?view=markup&rev=1.1 Index: php-gcov-web/PHP_HEAD/build.php +++ php-gcov-web/PHP_HEAD/build.php <?php require '../main.inc'; require 'mytag.inc'; ?> <html> <head> <title>PHP: Test and Code Coverage analysis of $mytag</title> <link rel="stylesheet" href="/style.css" /> <link rel="shortcut icon" href="/favicon.ico" /> </head> <body bgcolor="#ffffff" text="#000000" link="#000099" alink="#0000ff" vlink="#000099"> <?php include '../header.inc'; ?> <table border="0" cellspacing="0" cellpadding="0"><!-- outer --> <tr> <td align="left" valign="top" width="120" bgcolor="#f0f0f0"> <?php include '../sidebar.inc'; ?> </td> <td bgcolor="#cccccc" background="/images/checkerboard.gif" width="1"><img src="/images/spacer.gif" width="1" height="1" border="0" alt="" /></td> <td align="left" valign="top"> <table cellpadding="10" cellspacing="0" width="100%"><tr><td align="left" valign="top"><!- content --> <h1><?php echo $mytag; ?>: make log (finished)</h1> <pre> <?php fpassthru(fopen(dirname(__FILE__) . '/build.sh', 'r')); ?> </pre> </td> </tr> </table><!-- content --> </td> </tr> </table><!-- outer --> <?php include '../footer.inc'; ?> </body> </html> http://cvs.php.net/viewcvs.cgi/php-gcov-web/PHP_HEAD/build.sh?view=markup&rev=1.1 Index: php-gcov-web/PHP_HEAD/build.sh +++ php-gcov-web/PHP_HEAD/build.sh #!/bin/sh export PHP_VER=PHP_HEAD export DO_CVS_CLEAN=1 export FROM_SCRATCH=1 export BUILD_SOURCE=1 export USE_VALGRIND=1 export RM_ALL_FIRST=1 export BASE_WEB=/local/Web/sites/php-gcov-web export BASE_COV=/p2/var/php-gcov export BASE_PHP=$BASE_COV/$PHP_VER export PHP_SRC=$BASE_PHP/php-src export PHP_MAK=$BASE_PHP/build export PHP_BIN=$BASE_PHP/bin export PHP_ETC=$BASE_PHP/bin/etc export PHP_HTM=$BASE_PHP/html export PHP_TMP=$BASE_PHP/tmp export PHP_TST=$PHP_HTM/tests export PHP_WEB=$BASE_WEB/$PHP_VER export CCACHE_DISABLE=1 export CC=/usr/bin/gcc export CFLAGS='-Wall -Wno-strict-aliasing -ggdb' export LTP_GENHTML="genhtml --html-prolog ${BASE_WEB}/gcov_prolog.inc --html-epilog ${BASE_WEB}/gcov_epilog.inc --html-extension php --prefix ${BASE_PHP}" export PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test_${PHP_VER}" export PDO_FIREBIRD_TEST_DSN="firebird:dbname=/var/php-gcov/${PHP_VER}/tmp/firebird_test.db" export PDO_FIREBIRD_TEST_USER="SYSDBA" #export PDO_FIREBIRD_TEST_PASS="***" if test "$FROM_SCRATCH" = "1"; then for i in $PHP_MAK; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$BUILD_SOURCE" = "1"; then for i in $PHP_BIN $PHP_ETC; do test -d $i && rm -rf $i mkdir -p $i done fi if test "$RM_ALL_FIRST" = "1"; then for i in $PHP_HTM $PHP_TMP $PHP_TST; do test -d $i && rm -rf $i mkdir -p $i chmod ugo+rwx $i done fi if test "$DO_CVS_CLEAN" = "1"; then cd $PHP_SRC ./cvsclean || exit 1 cvs up ./buildconf --force || exit 1 fi if test "$FROM_SCRATCH" = "1"; then cd $PHP_MAK $PHP_SRC/configure \ --prefix=$PHP_BIN \ --with-config-file-path=$PHP_ETC \ --disable-maintainer-zts \ --disable-inline-optimization \ --disable-safe-mode \ --enable-memory-limit \ --disable-magic-quotes \ --enable-gcov \ --enable-cli \ --disable-cgi \ --enable-all \ --with-db4 \ --without-fbsql \ --without-fdftk \ --without-hwapi \ --with-imap-ssl \ --without-informix \ --with-interbase \ --with-kerberos \ --without-libedit \ --without-libexpat-dir \ --disable-mbregex \ --without-ming \ --without-msession \ --without-msql \ --without-mssql \ --with-mysql \ --with-mysqli \ --with-openssl \ --without-oci8 \ --with-pcre-regex \ --without-oracle \ --without-pdo-dblib \ --with-pdo-firebird \ --with-pdo-mysql \ --without-pdo-odbc \ --without-pdo-oci \ --with-pdo-sqlite \ --without-readline \ --without-recode \ --without-snmp \ --with-sqlite=/usr \ --without-sybase \ --without-sybase-ct \ --with-xsl \ || exit 1 fi if test "$BUILD_SOURCE" = "1"; then cd $PHP_MAK mkdir -p ext/sqlite/libsqlite/src make || exit 1 make install || exit 1 fi export TEST_VALGRIND_OPT= test "$USE_VALGRIND" = "1" && export TEST_VALGRIND_OPT="-m " export TEST_PHP_EXECUTABLE=$PHP_BIN/bin/php.bbg export TEST_PHP_SRCDIR=$PHP_TST export TEST_PHP_LOG_FORMAT=LEOD export TEST_PHP_DETAILED=0 export TEST_PHP_USER= export TEST_PHP_ARGS="${TEST_VALGRIND_OPT}-U -n -q --html $PHP_HTM/run-tests.html.inc -s $PHP_HTM/run-tests.gcov.log -w $PHP_HTM/run-tests.fail.lst --temp-source $PHP_SRC --temp-target $PHP_TST --temp-urlbase /$PHP_VER/tests $PHP_SRC" export REPORT_EXIT_STATUS=0 export NO_INTERACTION=1 cd $PHP_MAK make lcov-html || exit 1 test -d $PHP_WEB || mkdir $PHP_WEB test -d $PHP_HTM/lcov || mkdir $PHP_HTM/lcov cp -r $PHP_MAK/lcov_html/* $PHP_HTM/lcov if test -d $PHP_WEB; then cp -r $PHP_HTM/* $PHP_WEB chmod -R ugo+r $PHP_WEB fi