From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103502 invoked by alias); 16 Mar 2019 14:14:45 -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 103489 invoked by uid 89); 16 Mar 2019 14:14:45 -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.0 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=HX-Languages-Length:995 X-Spam-Status: No, score=-25.0 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 Date: Tue, 01 Jan 2019 00:00:00 -0000 From: Tom de Vries To: dwz@sourceware.org, jakub@redhat.com Subject: [committed] Move hello.c to testsuite/dwz.tests Message-ID: <20190316141526.GA5389@delia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-SW-Source: 2019-q1/txt/msg00131.txt.bz2 Hi, Move the test source hello.c out of the toplevel directory, such that the toplevel directory contains just the program sources and whatever is needed to build them, plus testsuite subdirectory. Committed to trunk. Thanks, - Tom Move hello.c to testsuite/dwz.tests 2019-03-16 Tom de Vries * Makefile (TEST_SRC): New variable. (hello): Use TEST_SRC. --- Makefile | 3 ++- hello.c => testsuite/dwz.tests/hello.c | 0 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d89ce10..d4e14de 100644 --- a/Makefile +++ b/Makefile @@ -17,10 +17,11 @@ clean: PWD:=$(shell pwd -P) +TEST_SRC = $(PWD)/testsuite/dwz.tests TEST_EXECS = hello hello: - $(CC) hello.c -o $@ -g + $(CC) $(TEST_SRC)/hello.c -o $@ -g check: dwz $(TEST_EXECS) mkdir -p testsuite-bin diff --git a/hello.c b/testsuite/dwz.tests/hello.c similarity index 100% rename from hello.c rename to testsuite/dwz.tests/hello.c