[xdebug-general] Re: ~80% xdebug 'make test' failures after a 'successful' make/install

From: snowcrash <schneecrash+xdebug[@]gmail.com>
Date: Thu, 17 May 2007 10:10:12 -0700

> Unfortunately phpize's "make test" is broken in the way it does not
> recognize zend extensions. There is a script "test.sh" that you can tune
> a bit to reflect your directory structure.

per suggestion, mod'ing to,

% cat test.sh
  TEST_PHP_EXECUTABLE=`which php` php -dxdebug.auto_trace=0
/usr/local/build/xdebug/run-tests.php tests/*.phpt

then,

% sh test.sh

provides a dramatically 'better' -- tho not perfect -- result,

  ...
  =====================================================================
  Number of tests : 87 69
  Tests skipped : 18 ( 20.7%) --------
  Tests warned : 0 ( 0.0%) ( 0.0%)
  Tests failed : 5 ( 5.7%) ( 7.2%)
  Tests passed : 64 ( 73.6%) ( 92.8%)
  ---------------------------------------------------------------------
  Time taken : 117 seconds
  =====================================================================

  =====================================================================
  FAILED TEST SUMMARY
  ---------------------------------------------------------------------
  Test with internal callbacks [tests/array_map.phpt]
  Test for bug #173: Xdebug segfaults using SPL ArrayIterator.
[tests/bug00173.phpt]
  Test for bug #184: problem with control chars in code traces
[tests/bug00184.phpt]
  Test for bug #241: Crash in xdebug_get_function_stack(). [tests/bug00241.phpt]
  xdebug_start_trace() without filename [tests/start_trace.phpt]
  =====================================================================

are these legit bugs/problems? or still an artifact of the broken test
environment?

thanks.
Received on Thu May 17 2007 - 19:10:18 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST