aboutsummaryrefslogtreecommitdiff
path: root/lib/libproc
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2015-08-17 23:19:36 +0000
committerEd Maste <emaste@FreeBSD.org>2015-08-17 23:19:36 +0000
commit5e3cac3e573c998e9ee1e40b65023e6efe91eac8 (patch)
treebdcd4a8b4a519d190b492b9c00cb6bc93add9096 /lib/libproc
parentf2fc809dcd122b7d7d618e7b6c548d89d8a92f91 (diff)
downloadsrc-5e3cac3e573c998e9ee1e40b65023e6efe91eac8.tar.gz
src-5e3cac3e573c998e9ee1e40b65023e6efe91eac8.zip
On arm64 disable three tests that hang or panic
Each issue has a PR open to track. This workaround allows us to run the tests to investigate the failures and avoid any new regressions. PR: 202304, 202305, 202307 Reviewed by: ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3378
Notes
Notes: svn path=/head/; revision=286863
Diffstat (limited to 'lib/libproc')
-rw-r--r--lib/libproc/tests/proc_test.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libproc/tests/proc_test.c b/lib/libproc/tests/proc_test.c
index dbaace84f5a8..2acaa51afc04 100644
--- a/lib/libproc/tests/proc_test.c
+++ b/lib/libproc/tests/proc_test.c
@@ -40,7 +40,9 @@ __FBSDID("$FreeBSD$");
#include <libproc.h>
static const char *aout_object = "a.out";
+#if !defined(__aarch64__)
static const char *ldelf_object = "ld-elf.so.1";
+#endif
static const char *target_prog_file = "target_prog";
/*
@@ -75,6 +77,7 @@ start_prog(const struct atf_tc *tc, bool sig)
return (phdl);
}
+#if !defined(__aarch64__)
static void
set_bkpt(struct proc_handle *phdl, uintptr_t addr, u_long *saved)
{
@@ -151,6 +154,7 @@ verify_bkpt(struct proc_handle *phdl, GElf_Sym *sym, const char *symname,
ATF_REQUIRE_EQ_MSG(strcmp(mapname, mapbname), 0,
"expected map name '%s' doesn't match '%s'", mapname, mapbname);
}
+#endif
ATF_TC(map_alias_obj2map);
ATF_TC_HEAD(map_alias_obj2map, tc)
@@ -255,6 +259,7 @@ ATF_TC_BODY(map_alias_name2sym, tc)
proc_free(phdl);
}
+#if !defined(__aarch64__)
ATF_TC(symbol_lookup);
ATF_TC_HEAD(symbol_lookup, tc)
{
@@ -331,6 +336,7 @@ ATF_TC_BODY(symbol_lookup_fail, tc)
proc_free(phdl);
}
+#endif
ATF_TC(signal_forward);
ATF_TC_HEAD(signal_forward, tc)
@@ -379,8 +385,11 @@ ATF_TP_ADD_TCS(tp)
ATF_TP_ADD_TC(tp, map_alias_obj2map);
ATF_TP_ADD_TC(tp, map_alias_name2map);
ATF_TP_ADD_TC(tp, map_alias_name2sym);
+/* On arm64 triggers panic ARM64TODO: pmap_sync_icache (PR202305). */
+#if !defined(__aarch64__)
ATF_TP_ADD_TC(tp, symbol_lookup);
ATF_TP_ADD_TC(tp, symbol_lookup_fail);
+#endif
ATF_TP_ADD_TC(tp, signal_forward);
return (atf_no_error());