From patchwork Wed Jun 21 13:03:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 106074 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp1917695qgd; Wed, 21 Jun 2017 06:03:30 -0700 (PDT) X-Received: by 10.237.46.226 with SMTP id k89mr41436635qtd.158.1498050210132; Wed, 21 Jun 2017 06:03:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498050210; cv=none; d=google.com; s=arc-20160816; b=sonVu6+MRyg22rhB5GShhhi1h5IFAp9/E2oiDi4jAbmVm8yAEBZ0gxa/2MUMC8SwHW SCdjI1OBsq2CaInYuh312IrzOuKUlbpcrs6sDLi2W3qmi2893tYmmbHn3U+PzTvxRf7n z+DrPo70r58EqnYEd/PQb79eH3Ssnmr6+XZOffAuib/ZtP///xG1v8+KOvVn0hccFatJ 1GJym+rkgWmGZLRBzLgjL7J75ntTHXhPTamb5pigVD8B9fRoLPFlN7BAeAXExyfbtKC5 hAlsU2msvYX+FaMkxbbId2nArkGI4QSuJYixB+ZU+SlGV/sm2dd+j6Jkzb3n0O7yF0Zb Xjig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:delivered-to :dkim-filter:dmarc-filter:arc-authentication-results; bh=ak+kQ/zRVzvh+OV8LyYJ6N6sncSdqb2ZTnq0UVnRDI4=; b=qi/DbAJL13Sp4xEcfrvL0RV/54f86huSkiluUL8eH3PT4hxya1/ihvGbMvEgWRyQYd bPuqR2I4yXbAk78r7J0JDlW3A4I12R+pj2t/vQDHOkG+g15/i+147SNBUgolMWs470xj 88gRE/sbBKAzxsZENDyGc4vniuuz5dge16ZgONorgSEPEchi2IeXs8xqFFQmwAOvHV0w JI2LXlLJnFAa0O4nZDUqxqhmZOwPLNJorGLQ1icrqyz1yIpSA8qrzbGqZN/GvNqdi2Nd unXiFkc2eiCW3aD2q2C24877hP0L8iNAOvhMae+tJEfA9FOnx1RuAZ4KmJ/M+6etmtSj YAjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id q92si14814898qtd.254.2017.06.21.06.03.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jun 2017 06:03:30 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E22704E028; Wed, 21 Jun 2017 13:03:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E22704E028 Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com E22704E028 Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8F0566C20B; Wed, 21 Jun 2017 13:03:26 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 0BC491804753; Wed, 21 Jun 2017 13:03:23 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v5LD3LSV020486 for ; Wed, 21 Jun 2017 09:03:21 -0400 Received: by smtp.corp.redhat.com (Postfix) id D950A5D6AE; Wed, 21 Jun 2017 13:03:21 +0000 (UTC) Delivered-To: libvir-list@redhat.com Received: from worklaptop.redhat.com (ovpn-116-102.phx2.redhat.com [10.3.116.102]) by smtp.corp.redhat.com (Postfix) with ESMTP id 72870800C3; Wed, 21 Jun 2017 13:03:14 +0000 (UTC) From: Cole Robinson To: libvir-list@redhat.com Date: Wed, 21 Jun 2017 09:03:06 -0400 Message-Id: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] tests: virstoragetest: fix --without-yajl X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 21 Jun 2017 13:03:29 +0000 (UTC) Recently added JSON tests should be skipped if compiled --without-yajl https://bugzilla.redhat.com/show_bug.cgi?id=1463435 Signed-off-by: Cole Robinson --- tests/virstoragetest.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.13.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list diff --git a/tests/virstoragetest.c b/tests/virstoragetest.c index 6c1287380..f34408395 100644 --- a/tests/virstoragetest.c +++ b/tests/virstoragetest.c @@ -1359,6 +1359,8 @@ mymain(void) "\n" " \n" "\n"); + +#ifdef WITH_YAJL TEST_BACKING_PARSE("json:", NULL); TEST_BACKING_PARSE("json:asdgsdfg", NULL); TEST_BACKING_PARSE("json:{}", NULL); @@ -1573,6 +1575,7 @@ mymain(void) "\n" " \n" "\n"); +#endif /* WITH_YAJL */ cleanup: /* Final cleanup */