public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [committed] Move hello.c to testsuite/dwz.tests
@ 2019-01-01  0:00 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz, jakub

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  <tdevries@suse.de>

	* 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-16 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01  0:00 [committed] Move hello.c to testsuite/dwz.tests Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).