From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52437 invoked by alias); 7 Mar 2019 13:51:00 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 51092 invoked by uid 89); 7 Mar 2019 13:50:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy=integrate X-Spam-Status: No, score=-25.9 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: mx1.suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de To: Jakub Jelinek Cc: dwz@sourceware.org, Mark Wielaard From: Tom de Vries Subject: [RFC] External testsuite using binaries Message-ID: <3ed89fb7-ae0c-23de-a6c5-78cc7c370083@suse.de> Date: Tue, 01 Jan 2019 00:00:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------E34ED03894A65B408949996E" Content-Language: en-US X-SW-Source: 2019-q1/txt/msg00103.txt.bz2 This is a multi-part message in MIME format. --------------E34ED03894A65B408949996E Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-length: 613 Hi, since large files tend to be a problem in git, I've created a testsuite containing binaries, that can be downloaded from ftp and plugged into the dwz sources. It contains the following executables: ... 272M cc1 223M cc1.dwz-processed 16K dw2-restrict 16K dw2-skip-prologue 9,1M etcd 8,2M etcdctl 16K multidictionary 8,0K py-section-script.debug ... Is it ok to move some of these (based on a size limit) to dwz.git, or do we want to keep these separate? Or, is there some large file support I should be using to integrate this into dwz.git? Any other comments? Thanks, - Tom --------------E34ED03894A65B408949996E Content-Type: text/x-patch; name="0001-Add-external-tests-scripts.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0001-Add-external-tests-scripts.patch" Content-length: 2529 Add external-tests scripts We keep test-cases using binaries rather than sources in a seperate test directory dwz-external.tests. The directory currently has a size of ~512MB. This directory can be installed using the scripts in this patch: ... $ ./scripts/fetch-external-tests.sh $ ./scripts/untar-external-tests.sh $ ls testsuite dwz-external.tests dwz.tests lib scripts ... Result with current (md5sum 09cd309b8e720242cfc79d8de75c8563) dwz-external-tests.tgz: ... $ cat dwz.sum Test run by vries on Wed Mar 6 15:56:13 2019 Native configuration is x86_64-pc-linux-gnu === dwz tests === Schedule of variations: unix Running target unix Running testsuite/dwz-external.tests/dwz-external-tests.exp ... FAIL: testsuite/dwz-external.tests/pr24169.sh FAIL: testsuite/dwz-external.tests/pr24171.sh FAIL: testsuite/dwz-external.tests/pr24170.sh FAIL: testsuite/dwz-external.tests/pr24172.sh FAIL: testsuite/dwz-external.tests/pr24173.sh FAIL: testsuite/dwz-external.tests/pr24195.sh FAIL: testsuite/dwz-external.tests/pr24204.sh Running testsuite/dwz.tests/dwz-tests.exp ... PASS: testsuite/dwz.tests/low-mem.sh PASS: testsuite/dwz.tests/multifile.sh PASS: testsuite/dwz.tests/regular.sh PASS: testsuite/dwz.tests/too-many-dies.sh PASS: testsuite/dwz.tests/hardlink.sh PASS: testsuite/dwz.tests/multifile-name.sh PASS: testsuite/dwz.tests/multifile-relative.sh PASS: testsuite/dwz.tests/regular-o.sh === dwz Summary === nr of expected passes 8 nr of unexpected failures 7 ... --- scripts/fetch-external-tests.sh | 5 +++++ scripts/tar-external-tests.sh | 6 ++++++ scripts/untar-external-tests.sh | 5 +++++ 3 files changed, 16 insertions(+) diff --git a/scripts/fetch-external-tests.sh b/scripts/fetch-external-tests.sh new file mode 100755 index 0000000..6a521ef --- /dev/null +++ b/scripts/fetch-external-tests.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +wget \ + http://ftp.suse.com/pub/people/tdevries/dwz/dwz-external-tests.tgz + diff --git a/scripts/tar-external-tests.sh b/scripts/tar-external-tests.sh new file mode 100755 index 0000000..9fe87fa --- /dev/null +++ b/scripts/tar-external-tests.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +tar \ + cvfz \ + ../dwz-external-tests.tgz \ + testsuite/dwz-external.tests diff --git a/scripts/untar-external-tests.sh b/scripts/untar-external-tests.sh new file mode 100755 index 0000000..7193725 --- /dev/null +++ b/scripts/untar-external-tests.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +tar \ + xvfz \ + dwz-external-tests.tgz --------------E34ED03894A65B408949996E--