Closed jmcconocha closed 6 years ago
Try running the tests as root, the full suite requires elevated permissions. On 16 Mar 2016 9:41 pm, "jmcconocha" notifications@github.com wrote:
Any idea on what I missed?
--clip-- TIME START 2016-03-16 21:35:59
PASS Spi::construct() member function [tests/Spi__construct.phpt] FAIL Spi::blockTransfer() member function [tests/SpiblockTransfer.phpt] PASS Spi::getInfo() member function [tests/SpigetInfo.phpt] PASS Spi::setupTimer() member function [tests/SpisetupTimer.phpt] FAIL Spi::transfer() member function [tests/Spitransfer.phpt] FAIL Spi::usecDelay() member function [tests/Spi__usecDelay.phpt]
TIME END 2016-03-16 21:37:00
TEST RESULT SUMMARY
Exts skipped : 0 Exts tested : 43
Number of tests : 6 6 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 3 ( 50.0%) ( 50.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 3 ( 50.0%) ( 50.0%)
Time taken : 61 seconds
FAILED TEST SUMMARY
Spi::blockTransfer() member function [tests/SpiblockTransfer.phpt] Spi::transfer() member function [tests/Spitransfer.phpt] Spi::usecDelay() member function [tests/Spi__usecDelay.phpt]
--/clip--
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/frak/php_spi/issues/3
I am running, 'sudo make test'.
Then I am afraid that I don't know what else to suggest. I never actually got to use this code in anger, and I don't even have a Raspberry Pi to test on any more. Sorry.
jmcconocha mailto:notifications@github.com 16 March 2016 at 22:14
I am running, 'sudo make test'.
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/frak/php_spi/issues/3#issuecomment-197579439
jmcconocha mailto:notifications@github.com 16 March 2016 at 21:41
Any idea on what I missed?
--clip-- TIME START 2016-03-16 21:35:59
PASS Spi::construct() member function [tests/Spi__construct.phpt] FAIL Spi::blockTransfer() member function [tests/SpiblockTransfer.phpt] PASS Spi::getInfo() member function [tests/SpigetInfo.phpt] PASS Spi::setupTimer() member function [tests/SpisetupTimer.phpt] FAIL Spi::transfer() member function [tests/Spitransfer.phpt] FAIL Spi::usecDelay() member function [tests/Spi__usecDelay.phpt]
TIME END 2016-03-16 21:37:00
TEST RESULT SUMMARY
Exts skipped : 0 Exts tested : 43
Number of tests : 6 6 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 3 ( 50.0%) ( 50.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 3 ( 50.0%) ( 50.0%)
Time taken : 61 seconds
FAILED TEST SUMMARY
Spi::blockTransfer() member function [tests/SpiblockTransfer.phpt] Spi::transfer() member function [tests/Spitransfer.phpt] Spi::usecDelay() member function [tests/Spi__usecDelay.phpt]
--/clip--
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/frak/php_spi/issues/3
Sent with Postbox http://www.getpostbox.com
Ok. Thanks for the reply...
Any idea on what I missed?
--clip-- TIME START 2016-03-16 21:35:59
PASS Spi::construct() member function [tests/Spi__construct.phpt] FAIL Spi::blockTransfer() member function [tests/SpiblockTransfer.phpt] PASS Spi::getInfo() member function [tests/SpigetInfo.phpt] PASS Spi::setupTimer() member function [tests/SpisetupTimer.phpt] FAIL Spi::transfer() member function [tests/Spitransfer.phpt] FAIL Spi::usecDelay() member function [tests/Spi__usecDelay.phpt]
TIME END 2016-03-16 21:37:00
TEST RESULT SUMMARY
Exts skipped : 0 Exts tested : 43
Number of tests : 6 6 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 3 ( 50.0%) ( 50.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 3 ( 50.0%) ( 50.0%)
Time taken : 61 seconds
FAILED TEST SUMMARY
Spi::blockTransfer() member function [tests/SpiblockTransfer.phpt] Spi::transfer() member function [tests/Spitransfer.phpt] Spi::usecDelay() member function [tests/Spi__usecDelay.phpt]
--/clip--