Skip to content

Compile succeeds, make test fails 3 times (and ofcourse errrors in operation) #97

@attilahofferek

Description

@attilahofferek

Hi, I have a strange error, we develop a calendar based application and I decided to use rezzza time traveler module for time dependent functions testing. This depends on php AOP module.

My system is debian wheezy with php from
http://packages.dotdeb.org wheezy-php55

When I compile aop, configure and make seems success, but make test fails:

FAIL Try using finfo_open [tests/bugs/005.phpt]
FAIL getPropertyValue [tests/properties/010.phpt]
FAIL Read / Write Property with inc or dec [tests/write_properties/004.phpt]

Php loads the .so without errors

When I try to run example from this:
https://packagist.org/packages/rezzza/time-traveler
The output is:

class DateTime#64 (3) {
  public $date =>
  string(26) "1970-01-01 01:00:00.000000"
  public $timezone_type =>
  int(3)
  public $timezone =>
  string(15) "Europe/Budapest"
}
class DateTime#64 (3) {
  public $date =>
  string(26) "2016-02-10 21:59:04.000000"
  public $timezone_type =>
  int(3)
  public $timezone =>
  string(15) "Europe/Budapest"
}
int(2762827144)
string(21) "0.95461200 2762827144"
double(2762827144.9547)

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions