{"action":"created","issue":{"url":"https://api.github.com/repos/Cyan4973/xxHash/issues/78","repository_url":"https://api.github.com/repos/Cyan4973/xxHash","labels_url":"https://api.github.com/repos/Cyan4973/xxHash/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/Cyan4973/xxHash/issues/78/comments","events_url":"https://api.github.com/repos/Cyan4973/xxHash/issues/78/events","html_url":"https://github.com/Cyan4973/xxHash/issues/78","id":166020800,"number":78,"title":"Feature request: Test that identical hashing results are returned on different OS/architectures","user":{"login":"pombredanne","id":675997,"avatar_url":"https://avatars.githubusercontent.com/u/675997?v=3","gravatar_id":"","url":"https://api.github.com/users/pombredanne","html_url":"https://github.com/pombredanne","followers_url":"https://api.github.com/users/pombredanne/followers","following_url":"https://api.github.com/users/pombredanne/following{/other_user}","gists_url":"https://api.github.com/users/pombredanne/gists{/gist_id}","starred_url":"https://api.github.com/users/pombredanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pombredanne/subscriptions","organizations_url":"https://api.github.com/users/pombredanne/orgs","repos_url":"https://api.github.com/users/pombredanne/repos","events_url":"https://api.github.com/users/pombredanne/events{/privacy}","received_events_url":"https://api.github.com/users/pombredanne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-18T05:30:33Z","updated_at":"2016-07-18T09:27:49Z","closed_at":null,"body":"As a follow up to http://stackoverflow.com/questions/34058947/hashing-tuple-in-python-causing-different-results-in-different-systems/37360914?noredirect=1#comment64261200_37360914 it would be great to include a few sanity test that **prove** that a hash value is the same when computed on different OSes and architectures. One possibility could be to use appveyor to run tests on Windows and QEMU on Travis to test various OS/arches. \r\n\r\nIf this can help there is a Google Summer of Code projects and some test setup code available strace that could be used as a base for QEMU. "},"comment":{"url":"https://api.github.com/repos/Cyan4973/xxHash/issues/comments/233283358","html_url":"https://github.com/Cyan4973/xxHash/issues/78#issuecomment-233283358","issue_url":"https://api.github.com/repos/Cyan4973/xxHash/issues/78","id":233283358,"user":{"login":"Cyan4973","id":750081,"avatar_url":"https://avatars.githubusercontent.com/u/750081?v=3","gravatar_id":"","url":"https://api.github.com/users/Cyan4973","html_url":"https://github.com/Cyan4973","followers_url":"https://api.github.com/users/Cyan4973/followers","following_url":"https://api.github.com/users/Cyan4973/following{/other_user}","gists_url":"https://api.github.com/users/Cyan4973/gists{/gist_id}","starred_url":"https://api.github.com/users/Cyan4973/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cyan4973/subscriptions","organizations_url":"https://api.github.com/users/Cyan4973/orgs","repos_url":"https://api.github.com/users/Cyan4973/repos","events_url":"https://api.github.com/users/Cyan4973/events{/privacy}","received_events_url":"https://api.github.com/users/Cyan4973/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T09:27:48Z","updated_at":"2016-07-18T09:27:48Z","body":"When using `./xxhsum -b`, it runs, behind the scene, [a few sanity tests](https://github.com/Cyan4973/xxHash/blob/master/xxhsum.c#L415) to ensure results remain consistent across versions. This test is triggered at each commit. It's the primary tool to ensure all results remain stable after every modification.\r\n\r\nWhile xxhash repo doesn't have (yet) an automated big-endian test,\r\n[zstd has one](https://travis-ci.org/Cyan4973/zstd/jobs/145437479), and xxhash is tested there as one of its components.\r\n[zstd](http://www.zstd.net) test suite also provides ARM tests, linux / Mac / Windows, gcc / clang / Visual / mingw / g++, 32/64 bits tests, which are definitely a lot of combinations. Here also, xxHash is embarked into all these tests, piggy-backing on zstd for its own extended test coverage."}}
{"actor":{"display_login":"Cyan4973"}}