)]}' { "commit": "4843fb219c6eee8ada4168c4bbd80a0962ded6f3", "tree": "7eaa6767144c541b6c938e97685d25fbbf5c6d14", "parents": [ "a822c5bc0c48060529af7056f217ca0e918b9aae" ], "author": { "name": "Michal Gorny", "email": "mgorny@gentoo.org", "time": "Wed May 29 07:20:30 2019 +0000" }, "committer": { "name": "Michal Gorny", "email": "mgorny@gentoo.org", "time": "Wed May 29 07:20:30 2019 +0000" }, "message": "[libunwind] [test] Fix inferring source paths\n\nFix two issues that caused libcxx source path not to be inferred\ncorrectly when not specified explicitly:\n\n1. get_lit_conf() uses default value only if the lit variable is set\n to None. Due to the mehod of substituting lit.site.cfg, they were\n \"\" rather than None when unset, effectively causing the default never\n to apply. Instead, use \u0027or\u0027 construct to use the default whenever\n get_lit_conf() returns a false value.\n\n2. If os.path.join() is given a component starting with \u0027/\u0027, it takes\n it to be an absolute path and ignores everything preceding it.\n Remove the slash to correctly append subdirectory.\n\nWith these two fixes, libunwind tests start working on NetBSD buildbot\nagain.\n\nDifferential Revision: https://reviews.llvm.org/D62005\n\ngit-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@361931 91177308-0d34-0410-b5e6-96231b3b80d8\n", "tree_diff": [ { "type": "modify", "old_id": "803462589740cad6a8fd6cb5ba3c7d56e6318752", "old_mode": 33188, "old_path": "test/libunwind/test/config.py", "new_id": "05e3f3cc21f31c02685816103ba46bbbdc182bd6", "new_mode": 33188, "new_path": "test/libunwind/test/config.py" } ] }