[gnome-builder/wip/chergert/buildcleanup: 7/10] tests: add run-% test target
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/buildcleanup: 7/10] tests: add run-% test target
- Date: Mon, 12 Dec 2016 03:32:32 +0000 (UTC)
commit 9f83b390e53db45aa5130b24dda175a03b5e5611
Author: Christian Hergert <chergert redhat com>
Date: Sun Dec 11 19:17:50 2016 -0800
tests: add run-% test target
This helps developing tests without having to make check.
tests/Makefile.am | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 503e5fd..967a051 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -282,4 +282,7 @@ EXTRA_DIST += \
data/project2/.you-dont-git-me \
$(NULL)
+run-%: %
+ $(TESTS_ENVIRONMENT) $(LIBTOOL) --mode=execute gdb -ex run $(builddir)/$*
+
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]