{"action":"opened","issue":{"url":"https://api.github.com/repos/waf-project/waf/issues/1656","labels_url":"https://api.github.com/repos/waf-project/waf/issues/1656/labels{/name}","comments_url":"https://api.github.com/repos/waf-project/waf/issues/1656/comments","events_url":"https://api.github.com/repos/waf-project/waf/issues/1656/events","html_url":"https://github.com/waf-project/waf/issues/1656","id":117709132,"number":1656,"title":"unittest run before symlinking","user":{"login":"ieei","id":352842,"avatar_url":"https://avatars.githubusercontent.com/u/352842?v=3","gravatar_id":"","url":"https://api.github.com/users/ieei","html_url":"https://github.com/ieei","followers_url":"https://api.github.com/users/ieei/followers","following_url":"https://api.github.com/users/ieei/following{/other_user}","gists_url":"https://api.github.com/users/ieei/gists{/gist_id}","starred_url":"https://api.github.com/users/ieei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ieei/subscriptions","organizations_url":"https://api.github.com/users/ieei/orgs","repos_url":"https://api.github.com/users/ieei/repos","events_url":"https://api.github.com/users/ieei/events{/privacy}","received_events_url":"https://api.github.com/users/ieei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-18T23:52:26Z","updated_at":"2015-11-18T23:52:26Z","closed_at":null,"body":"`waf_unit_tests.py` uses `@after_method('apply_link')`\r\n\r\nMy example test application is testing a library which you can see from the following is first linked, then run. I'm building this library using `vnum` and the test application is then linking in libmylib.1.dylib on osx, but theres a race here. task 72 of 72 is actually creating the symlinks, but in this case it hasn't been run yet. Which causes the build to fail\r\n\r\n```\r\n...\r\n[70/72] Linking _build_/debug/test/mytest\r\n[71/72] Running test _build_/debug/test/mytest\r\nWaf: Leaving directory `/path/_build_/debug'\r\nRan '['/path/_build_/debug/test/mytest']' ret: -5\r\nerr: \r\ndyld: Library not loaded: /usr/local/lib/libmylib.1.dylib\r\n  Referenced from: /path/_build_/debug/test/mytest\r\n  Reason: image not found\r\nBuild failed\r\n...\r\n```\r\n\r\nIf this is intended or if I'm doing something wrong please just close this issue and educate me! :) Thanks."}}