From patchwork Sat Sep 12 22:44:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yonggang Luo X-Patchwork-Id: 11772111 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0A83A112E for ; Sat, 12 Sep 2020 22:51:37 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7D60F214F1 for ; Sat, 12 Sep 2020 22:51:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="sNbeUqqt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D60F214F1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:56682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHEMp-0006rC-M5 for patchwork-qemu-devel@patchwork.kernel.org; Sat, 12 Sep 2020 18:51:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHEH7-0003V5-TG; Sat, 12 Sep 2020 18:45:42 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:35594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHEH6-0004Ng-9y; Sat, 12 Sep 2020 18:45:41 -0400 Received: by mail-pl1-x635.google.com with SMTP id t6so1337809plz.2; Sat, 12 Sep 2020 15:45:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ehfAiCRVE/Ke9S0rgpD+Y+SHCRLAE8fhmhSay0lCAzA=; b=sNbeUqqtmBVUSJ/zyi+cWCfaqMcJGG7wQpA6pEB6MEQPo3v+vr0BPGOqRl38foAEB+ UnXgiCtJBv63C1clX5tHTuoTtYYpbCw4rRSbYMaWKBah1C8HvhfMC1MYI7GmGBlb9NK/ CrYE+KcdDKyVysa/3IWUIUHqmQmgpu4j+MDibFihnwgQVcyaRmyeQHweTQG7AE8aTGa9 17IdR2xvPNApcCJOND3pMNVMltYDe3h1QmJ2/UwrM9BxNUqRoGles6tP8VNMWHvOOZkI RGqKw3XtO6p2P8FyGteAA8gTXJCItZkHtAH1LIe3I3BpSIU82ZilPymvwq86K8zsa7iw 2+tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ehfAiCRVE/Ke9S0rgpD+Y+SHCRLAE8fhmhSay0lCAzA=; b=P1+kiSdHTYidB916lJm5XZjo2FlTnw8nwNtGpl8MxUE3lCtvsD/eHnfD+jwCRrhX+I 6Laz1yRygmP/IleU6vfD+PPo0A8qJxoEOR586gpYA6A6Shh9q9pOepd7GNIghnJUoZM/ k9TLS9UjUhzxG5J0Sjex1eudNHFgWx+nxMN7aCsEppTAhHRUnoheoJlOPJEQBB4Ub6wA 6lnuJYKlal0B39ZbY54PqofSizzrUzx2T7Ot/VcNSMqWPw9dnlIpJElRoQ6Gg2lSf6w0 e169pFcbjvGKjTPW2/w17/r4lKDNx3SA9x42IdEiLp4JSQpwrKPwxkx0YXMEs/Tk4LiL Kyng== X-Gm-Message-State: AOAM530XCK81l9d3ElPzNzvyo8nGuoy1+2UqBdbbpMvlcDxxuFHuArGP 4BjkwoiIDKaft5YQtSgg/nJJo8Ve6jIdW4swsq0= X-Google-Smtp-Source: ABdhPJzT+ktlbu9CJiuObw0fNXTcfGadBsVNT/Vobp5rTDlROvhOkyJac40RG9ji2r4JTtDJbAn4gw== X-Received: by 2002:a17:90b:198c:: with SMTP id mv12mr2349182pjb.236.1599950737413; Sat, 12 Sep 2020 15:45:37 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id t10sm4639266pgp.15.2020.09.12.15.45.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Sep 2020 15:45:36 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v8 11/27] meson: Use -b to ignore CR vs. CR-LF issues on Windows Date: Sun, 13 Sep 2020 06:44:15 +0800 Message-Id: <20200912224431.1428-12-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200912224431.1428-1-luoyonggang@gmail.com> References: <20200912224431.1428-1-luoyonggang@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=luoyonggang@gmail.com; helo=mail-pl1-x635.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= , Ed Maste , Michael Roth , qemu-block@nongnu.org, Stefan Weil , Xie Changlong , Peter Lieven , Markus Armbruster , Max Reitz , Yonggang Luo , Gerd Hoffmann , Wen Congyang , Paolo Bonzini , Richard Henderson , Li-Wen Hsu Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" On windows, a difference in line endings causes testsuite failures complaining that every single line in files such as 'tests/qapi-schemadoc-good.texi' is wrong. Fix it by adding -b to diff. Signed-off-by: Yonggang Luo Reviewed-by: Eric Blake Reviewed-by: Daniel P. Berrangé --- tests/qapi-schema/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qapi-schema/meson.build b/tests/qapi-schema/meson.build index c87d141417..f1449298b0 100644 --- a/tests/qapi-schema/meson.build +++ b/tests/qapi-schema/meson.build @@ -220,6 +220,6 @@ qapi_doc = custom_target('QAPI doc', # "full_path()" needed here to work around # https://github.com/mesonbuild/meson/issues/7585 -test('QAPI doc', diff, args: ['-u', files('doc-good.texi'), qapi_doc[0].full_path()], +test('QAPI doc', diff, args: ['-b', '-u', files('doc-good.texi'), qapi_doc[0].full_path()], depends: qapi_doc, suite: ['qapi-schema', 'qapi-doc'])