Some times you want to crawl under a stone.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Just sharing my sunday morning frustration of checking the build of my ports.

This occurs in ./src/test/encoding/check-generated.sh

In itself this type of problem if of course trivial to solve.
But in this case we use diff to compare the output, so there is 
no easy way to fix this

2 DecayCounter
/tmp/typ-s31EUGoSy /tmp/typ-iLTjVqhpI differ: char 24, line 2
**** DecayCounter test 1 dump_json check failed ****
   ceph-dencoder type DecayCounter select_test 1 dump_json > /tmp/typ-s31EUGoSy
   ceph-dencoder type DecayCounter select_test 1 encode decode dump_json > /tmp/typ-iLTjVqhpI
2c2
<     "value": 2.99990449484967,
---
>     "value": 2.9999046414456356,

Probably the easiest is to exclude the test and go on with life as it is.

But correct way is probably shorten the representation of the float printing.
So we end up with '2.9999' of perhaps even shorter which will make it '3.000'
Is that something that is appropriate to do in the dump_json part, if I can flesh 
out the DecayCounter as "exception"

--WjW


_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux