{"action":"created","issue":{"url":"https://api.github.com/repos/CopernicaMarketingSoftware/PHP-CPP/issues/215","labels_url":"https://api.github.com/repos/CopernicaMarketingSoftware/PHP-CPP/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/CopernicaMarketingSoftware/PHP-CPP/issues/215/comments","events_url":"https://api.github.com/repos/CopernicaMarketingSoftware/PHP-CPP/issues/215/events","html_url":"https://github.com/CopernicaMarketingSoftware/PHP-CPP/issues/215","id":102317683,"number":215,"title":"Tests doesn't pass","user":{"login":"jonasasx","id":5870405,"avatar_url":"https://avatars.githubusercontent.com/u/5870405?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasasx","html_url":"https://github.com/jonasasx","followers_url":"https://api.github.com/users/jonasasx/followers","following_url":"https://api.github.com/users/jonasasx/following{/other_user}","gists_url":"https://api.github.com/users/jonasasx/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasasx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasasx/subscriptions","organizations_url":"https://api.github.com/users/jonasasx/orgs","repos_url":"https://api.github.com/users/jonasasx/repos","events_url":"https://api.github.com/users/jonasasx/events{/privacy}","received_events_url":"https://api.github.com/users/jonasasx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-21T07:39:01Z","updated_at":"2015-11-05T09:27:51Z","closed_at":"2015-11-05T09:27:51Z","body":"After installing php-cpp, I run `make test`. It has fault:\r\n\r\n\tmkdir -p tests/include/zts/phpcpp\r\n\tcd tests && ./test.sh -p \"/usr/bin/php\"\r\n\tCompile the test extension\r\n\tmake[1]: Entering directory `/home/ionas/make/PHP-CPP/tests/cpp'\r\n\trm -f extfortest.so main.o\r\n\tmake[1]: Leaving directory `/home/ionas/make/PHP-CPP/tests/cpp'\r\n\tmake[1]: Entering directory `/home/ionas/make/PHP-CPP/tests/cpp'\r\n\tg++ -Wall -c -O2 -std=c++11 -fpic -I\"/home/ionas/make/PHP-CPP/tests/include/lib\" -I\"/home/ionas/make/PHP-CPP/tests/include/zts\" -o main.o main.cpp\r\n\tIn file included from /home/ionas/make/PHP-CPP/tests/include/lib/phpcpp.h:39:0,\r\n\t\t         from main.cpp:8:\r\n\t/home/ionas/make/PHP-CPP/tests/include/lib/phpcpp/type.h:32:1: warning: type attributes ignored after type is already defined [-Wattributes]\r\n\t };\r\n\t ^\r\n\tIn file included from /home/ionas/make/PHP-CPP/tests/include/lib/phpcpp.h:60:0,\r\n\t\t         from main.cpp:8:\r\n\t/home/ionas/make/PHP-CPP/tests/include/lib/phpcpp/classtype.h:31:1: warning: type attributes ignored after type is already defined [-Wattributes]\r\n\t };\r\n\t ^\r\n\tg++ -shared -L\"/home/ionas/make/PHP-CPP\" -o extfortest.so main.o -lphpcpp\r\n\tmake[1]: Leaving directory `/home/ionas/make/PHP-CPP/tests/cpp'\r\n\t/home/ionas/make/PHP-CPP:\r\n\tPHP Warning:  PHP Startup: Unable to load dynamic library '/home/ionas/make/PHP-CPP/tests/ext_dir/extfortest.so' - /home/ionas/make/PHP-CPP/tests/ext_dir/extfortest.so: undefined symbol: _ZN3PhplsERSoRKNS_8IniValueE in Unknown on line 0\r\n\tPHP Warning:  PHP Startup: Unable to load dynamic library '/home/ionas/make/PHP-CPP/tests/ext_dir/extfortest.so' - /home/ionas/make/PHP-CPP/tests/ext_dir/extfortest.so: undefined symbol: _ZN3PhplsERSoRKNS_8IniValueE in Unknown on line 0\r\n\r\n\t=====================================================================\r\n\r\n\r\nAfter that, every test has been skiped."},"comment":{"url":"https://api.github.com/repos/CopernicaMarketingSoftware/PHP-CPP/issues/comments/154002702","html_url":"https://github.com/CopernicaMarketingSoftware/PHP-CPP/issues/215#issuecomment-154002702","issue_url":"https://api.github.com/repos/CopernicaMarketingSoftware/PHP-CPP/issues/215","id":154002702,"user":{"login":"EmielBruijntjes","id":3725068,"avatar_url":"https://avatars.githubusercontent.com/u/3725068?v=3","gravatar_id":"","url":"https://api.github.com/users/EmielBruijntjes","html_url":"https://github.com/EmielBruijntjes","followers_url":"https://api.github.com/users/EmielBruijntjes/followers","following_url":"https://api.github.com/users/EmielBruijntjes/following{/other_user}","gists_url":"https://api.github.com/users/EmielBruijntjes/gists{/gist_id}","starred_url":"https://api.github.com/users/EmielBruijntjes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmielBruijntjes/subscriptions","organizations_url":"https://api.github.com/users/EmielBruijntjes/orgs","repos_url":"https://api.github.com/users/EmielBruijntjes/repos","events_url":"https://api.github.com/users/EmielBruijntjes/events{/privacy}","received_events_url":"https://api.github.com/users/EmielBruijntjes/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T09:27:51Z","updated_at":"2015-11-05T09:27:51Z","body":"I removed the test framework. It was not written by me in the first place, it never works, most of the bugs found by the test framework turned out to be caused by errors in the tests rather than by errors in the real code, people complain about it all the time, and basically this whole test framework causes more problems than it solves."}}