{"action":"created","issue":{"url":"https://api.github.com/repos/trendmicro/tlsh/issues/12","labels_url":"https://api.github.com/repos/trendmicro/tlsh/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/trendmicro/tlsh/issues/12/comments","events_url":"https://api.github.com/repos/trendmicro/tlsh/issues/12/events","html_url":"https://github.com/trendmicro/tlsh/issues/12","id":117424299,"number":12,"title":"all tests failing on build","user":{"login":"anthraxx","id":203012,"avatar_url":"https://avatars.githubusercontent.com/u/203012?v=3","gravatar_id":"","url":"https://api.github.com/users/anthraxx","html_url":"https://github.com/anthraxx","followers_url":"https://api.github.com/users/anthraxx/followers","following_url":"https://api.github.com/users/anthraxx/following{/other_user}","gists_url":"https://api.github.com/users/anthraxx/gists{/gist_id}","starred_url":"https://api.github.com/users/anthraxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthraxx/subscriptions","organizations_url":"https://api.github.com/users/anthraxx/orgs","repos_url":"https://api.github.com/users/anthraxx/repos","events_url":"https://api.github.com/users/anthraxx/events{/privacy}","received_events_url":"https://api.github.com/users/anthraxx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-17T18:57:22Z","updated_at":"2015-11-17T20:06:15Z","closed_at":null,"body":"Any idea why the tests are failing or how to easily debug it? Are the tests working on your machine?\r\n\r\n    \r\n    Running tests...\r\n    Test project /build/tlsh-3.4.1/build/release\r\n        Start 1: tlsh_unittest_len\r\n    1/2 Test #1: tlsh_unittest_len ................***Failed    0.31 sec\r\n        Start 2: tlsh_unittest_xlen\r\n    2/2 Test #2: tlsh_unittest_xlen ...............***Failed    0.17 sec\r\n    \r\n    0% tests passed, 2 tests failed out of 2\r\n    \r\n    Total Test time (real) =   0.48 sec\r\n    \r\n    The following tests FAILED:\r\n    \t  1 - tlsh_unittest_len (Failed)\r\n    \t  2 - tlsh_unittest_xlen (Failed)\r\n    Errors while running CTest\r\n    Makefile:72: recipe for target 'test' failed\r\n    make: *** [test] Error 8\r\n            "},"comment":{"url":"https://api.github.com/repos/trendmicro/tlsh/issues/comments/157490516","html_url":"https://github.com/trendmicro/tlsh/issues/12#issuecomment-157490516","issue_url":"https://api.github.com/repos/trendmicro/tlsh/issues/12","id":157490516,"user":{"login":"anthraxx","id":203012,"avatar_url":"https://avatars.githubusercontent.com/u/203012?v=3","gravatar_id":"","url":"https://api.github.com/users/anthraxx","html_url":"https://github.com/anthraxx","followers_url":"https://api.github.com/users/anthraxx/followers","following_url":"https://api.github.com/users/anthraxx/following{/other_user}","gists_url":"https://api.github.com/users/anthraxx/gists{/gist_id}","starred_url":"https://api.github.com/users/anthraxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthraxx/subscriptions","organizations_url":"https://api.github.com/users/anthraxx/orgs","repos_url":"https://api.github.com/users/anthraxx/repos","events_url":"https://api.github.com/users/anthraxx/events{/privacy}","received_events_url":"https://api.github.com/users/anthraxx/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T20:06:15Z","updated_at":"2015-11-17T20:06:15Z","body":"Okay the regular non-python tests seem working if I remove the python related changes in the test.sh.\r\n\r\nrelated to the python tests:\r\nIt would be great if its not required to have the extension already installed to run the test, that is not the optimal solution. A better way would be to use some shell construct like PYTHONPATH=\".:${PYTHONPATH}\" to prepend the current dir (assuming current dir is relative to the python extension) so the tests can run in-place and just *after* the tests are passing, one can install the extension into the system."}}