diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-02-05 19:39:14 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-02-11 15:22:31 +1000 |
commit | 92d9a7dc72948a04a456be341e031126d9d8f62f (patch) | |
tree | 0b89973d94c3fe31dea248af9d561d1702efa8e2 | |
parent | 0394fd2181e939c2b4d2b9c4a50290641effbbf5 (diff) |
Always store results files.
Enables callers to simply run make check and get the various results saved,
named after the executable.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | common.mk | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index d8c364d..57f3282 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,10 @@ ACLOCAL_AMFLAGS = -Im4 -SUBDIRS = tests recordings +SUBDIRS = . tests recordings EXTRA_DIST = autogen.sh HACKING 99-ignore-virtual-devices.conf 99-tag-virtual-devices.rules +check-local: + @export DATE=`date +%Y-%m-%d-%H:%M`; \ + mkdir -p $(top_builddir)/results/$$DATE; \ + ln -sfT $$DATE $(top_builddir)/results/latest @@ -1,5 +1,7 @@ include $(top_srcdir)/Makefile-xorg-gtest.am +TESTS_ENVIRONMENT=GTEST_OUTPUT="xml:$(top_builddir)/results/latest/" + AM_CPPFLAGS = \ $(XI_CFLAGS) \ $(XFIXES_CFLAGS) \ |