{"action":"created","issue":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1424","labels_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1424/labels{/name}","comments_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1424/comments","events_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1424/events","html_url":"https://github.com/hpcugent/easybuild-framework/pull/1424","id":111045668,"number":1424,"title":"generic sanity-checking of libraries","user":{"login":"torbjoernk","id":1336965,"avatar_url":"https://avatars.githubusercontent.com/u/1336965?v=3","gravatar_id":"","url":"https://api.github.com/users/torbjoernk","html_url":"https://github.com/torbjoernk","followers_url":"https://api.github.com/users/torbjoernk/followers","following_url":"https://api.github.com/users/torbjoernk/following{/other_user}","gists_url":"https://api.github.com/users/torbjoernk/gists{/gist_id}","starred_url":"https://api.github.com/users/torbjoernk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torbjoernk/subscriptions","organizations_url":"https://api.github.com/users/torbjoernk/orgs","repos_url":"https://api.github.com/users/torbjoernk/repos","events_url":"https://api.github.com/users/torbjoernk/events{/privacy}","received_events_url":"https://api.github.com/users/torbjoernk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/milestones/32","html_url":"https://github.com/hpcugent/easybuild-framework/milestones/v2.5.0","labels_url":"https://api.github.com/repos/hpcugent/easybuild-framework/milestones/32/labels","id":1381028,"number":32,"title":"v2.5.0","description":"","creator":{"login":"boegel","id":620876,"avatar_url":"https://avatars.githubusercontent.com/u/620876?v=3","gravatar_id":"","url":"https://api.github.com/users/boegel","html_url":"https://github.com/boegel","followers_url":"https://api.github.com/users/boegel/followers","following_url":"https://api.github.com/users/boegel/following{/other_user}","gists_url":"https://api.github.com/users/boegel/gists{/gist_id}","starred_url":"https://api.github.com/users/boegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boegel/subscriptions","organizations_url":"https://api.github.com/users/boegel/orgs","repos_url":"https://api.github.com/users/boegel/repos","events_url":"https://api.github.com/users/boegel/events{/privacy}","received_events_url":"https://api.github.com/users/boegel/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":6,"state":"open","created_at":"2015-10-28T08:47:20Z","updated_at":"2015-11-26T19:50:20Z","due_on":"2015-12-30T23:00:00Z","closed_at":null},"comments":10,"created_at":"2015-10-12T20:04:52Z","updated_at":"2015-11-27T09:51:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/1424","html_url":"https://github.com/hpcugent/easybuild-framework/pull/1424","diff_url":"https://github.com/hpcugent/easybuild-framework/pull/1424.diff","patch_url":"https://github.com/hpcugent/easybuild-framework/pull/1424.patch"},"body":"A new key (`'libs'`) is introduced potentially holding a list of maps specifying libraries to be checked in a generic way. Each library map must have a `'name'` and a `'kind'` while the latter must either be `'shared'` or `'static'`. The name is only the library name without path and suffix.\r\n\r\nExample:\r\nTo test for a library `libmy.so`, which might either be in `lib/` or in `lib64/`:\r\n\r\n    sanity_check_paths = {\r\n      'libs': [{'name': 'libmy', 'kind': 'shared'}]\r\n    }\r\n\r\nThis will look for the following files:\r\n\r\n    lib/libmy.so\r\n    lib/libmy.dyn\r\n    lib64/libmy.so\r\n    lib64/libmy.dyn\r\n\r\nThis is done by generating a tuple of these, which is appended to the `sanity_check_paths['files']` list.\r\n\r\nTodo:\r\n- [ ] make the library directory and library suffixes configurable\r\n- [ ] think of better way to specify the libraries in the easyconfig file\r\n\r\nBTW: The first commit is a potential bug fix. The lambdas specified in `path_keys_and_check` where never used."},"comment":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/comments/160099483","html_url":"https://github.com/hpcugent/easybuild-framework/pull/1424#issuecomment-160099483","issue_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1424","id":160099483,"user":{"login":"hpcugentbot","id":4427971,"avatar_url":"https://avatars.githubusercontent.com/u/4427971?v=3","gravatar_id":"","url":"https://api.github.com/users/hpcugentbot","html_url":"https://github.com/hpcugentbot","followers_url":"https://api.github.com/users/hpcugentbot/followers","following_url":"https://api.github.com/users/hpcugentbot/following{/other_user}","gists_url":"https://api.github.com/users/hpcugentbot/gists{/gist_id}","starred_url":"https://api.github.com/users/hpcugentbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpcugentbot/subscriptions","organizations_url":"https://api.github.com/users/hpcugentbot/orgs","repos_url":"https://api.github.com/users/hpcugentbot/repos","events_url":"https://api.github.com/users/hpcugentbot/events{/privacy}","received_events_url":"https://api.github.com/users/hpcugentbot/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T09:51:11Z","updated_at":"2015-11-27T09:51:11Z","body":"EasyBuild framework unit test suite **FAILed**.\n\nSee https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2383/console for more details.\n\nPlease fix the reported issues by pushing additional commits to the branch corresponding with this pull request; contact @boegel if you're not sure what to do.\n"}}