summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2014-10-04 06:41:53 (GMT)
committerJason Evans <je@fb.com>2014-10-04 06:41:53 (GMT)
commitb72d4abc5fb1185e4017c014d521693a99f9175b (patch)
treed3774b594ffab22cc96b4a5c819f340253be0c5b /test
parentfc12c0b8bc1160530d1e3e641b76d2a4f793136f (diff)
downloadjemalloc-b72d4abc5fb1185e4017c014d521693a99f9175b.zip
jemalloc-b72d4abc5fb1185e4017c014d521693a99f9175b.tar.gz
jemalloc-b72d4abc5fb1185e4017c014d521693a99f9175b.tar.bz2
Skip test_prof_thread_name_validation if !config_prof.
Diffstat (limited to 'test')
-rw-r--r--test/unit/prof_thread_name.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/prof_thread_name.c b/test/unit/prof_thread_name.c
index 7fb8038..6066dba 100644
--- a/test/unit/prof_thread_name.c
+++ b/test/unit/prof_thread_name.c
@@ -40,6 +40,8 @@ TEST_BEGIN(test_prof_thread_name_validation)
{
const char *thread_name;
+ test_skip_if(!config_prof);
+
mallctl_thread_name_get("");
mallctl_thread_name_set("hi there");