diff options
author | Adeel Mujahid <adeelbm@outlook.com> | 2020-03-09 18:51:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 09:51:19 -0700 |
commit | 2738756bcb70ddfbb3f46e7aec9d9e46cc784bdf (patch) | |
tree | fc39a30a2ecdb8ccb21cf6c19288b2f224794d31 | |
parent | e56a679deaa9b28d9a8b7732e8fe6da408b49478 (diff) | |
download | libunwind-2738756bcb70ddfbb3f46e7aec9d9e46cc784bdf.tar.gz |
Fix SmartOS/Solaris build (#158)
-rw-r--r-- | README | 13 | ||||
-rw-r--r-- | tests/x64-unwind-badjmp-signal-frame.c | 3 |
2 files changed, 15 insertions, 1 deletions
@@ -208,9 +208,15 @@ only test programs that are known to work at this time are: ### Expected results on Solaris x86-64 -`make check` is passing 23 out of 32 tests. The following nine tests are consistently +`make check` is passing 13 out of 33 tests. The following nine tests are consistently failing: +* `Gtest-bt` +* `Ltest-bt` +* `Gtest-init` +* `Ltest-init` +* `Gtest-concurrent` +* `Ltest-concurrent` * `Gtest-resume-sig` * `Ltest-resume-sig` * `Gtest-resume-sig-rt` @@ -218,7 +224,12 @@ failing: * `Gtest-trace` * `Ltest-trace` * `Ltest-init-local-signal` +* `test-async-sig` +* `test-init-remote` +* `test-mem` +* `Ltest-nomalloc` * `test-setjmp` +* `x64-unwind-badjmp-signal-frame` * `run-check-namespace` ## Performance Testing diff --git a/tests/x64-unwind-badjmp-signal-frame.c b/tests/x64-unwind-badjmp-signal-frame.c index 6b4ea3ac..c7b7cf73 100644 --- a/tests/x64-unwind-badjmp-signal-frame.c +++ b/tests/x64-unwind-badjmp-signal-frame.c @@ -30,7 +30,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include <sys/types.h> #include <sys/ucontext.h> #include <unistd.h> + +#ifdef HAVE_SYS_PTRACE_H #include <sys/ptrace.h> +#endif #define UNW_LOCAL_ONLY #include <libunwind.h> |