Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mingw 32bit: #156

Open
FreddieAkeroyd opened this issue Feb 13, 2020 · 1 comment
Open

mingw 32bit: #156

FreddieAkeroyd opened this issue Feb 13, 2020 · 1 comment

Comments

@FreddieAkeroyd
Copy link
Contributor

A 32bit mingw Appveyor build fails the testChannelAccess tests - the 64bit mingw build passes

testChannelAccess.tap ..... 
not ok 130 - void ChannelAccessIFTest::test_channelArray(): data slot 0 should be 1.100000
not ok 131 - void ChannelAccessIFTest::test_channelArray(): data slot 1 should be 2.200000
not ok 132 - void ChannelAccessIFTest::test_channelArray(): data slot 2 should be 3.300000
not ok 133 - void ChannelAccessIFTest::test_channelArray(): data slot 3 should be 4.400000
not ok 134 - void ChannelAccessIFTest::test_channelArray(): data slot 4 should be 5.500000
Failed 5/152 subtests 
	(less 12 skipped subtests: 135 okay)
@FreddieAkeroyd
Copy link
Contributor Author

Adding addition debugging out produced

testChannelAccess.tap ..... 
not ok 130 - void ChannelAccessIFTest::test_channelArray(): data slot 0 should be 1.100000 not 1.100000
not ok 131 - void ChannelAccessIFTest::test_channelArray(): data slot 1 should be 2.200000 not 2.200000
not ok 132 - void ChannelAccessIFTest::test_channelArray(): data slot 2 should be 3.300000 not 3.300000
not ok 133 - void ChannelAccessIFTest::test_channelArray(): data slot 3 should be 4.400000 not 4.400000
not ok 134 - void ChannelAccessIFTest::test_channelArray(): data slot 4 should be 5.500000 not 5.500000
Failed 5/152 subtests 
	(less 12 skipped subtests: 135 okay)

Maybe a precision issue with comparing doubles? Will add a comparison tolerance and see

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant