[beast: 56/57] SFI: tests: add simple --backtrace check
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 56/57] SFI: tests: add simple --backtrace check
- Date: Sun, 23 Jul 2017 10:02:30 +0000 (UTC)
commit f5a867da5888c33f931c385e9d6a9ed3edb22e53
Author: Tim Janik <timj gnu org>
Date: Wed Jul 19 03:19:48 2017 +0200
SFI: tests: add simple --backtrace check
Signed-off-by: Tim Janik <timj gnu org>
sfi/tests/Makefile.am | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/sfi/tests/Makefile.am b/sfi/tests/Makefile.am
index aa99c80..cd177f1 100644
--- a/sfi/tests/Makefile.am
+++ b/sfi/tests/Makefile.am
@@ -41,3 +41,13 @@ testidl.h: $(srcdir)/testidl.idl $(SFIDL)
testidl.c: $(srcdir)/testidl.idl $(SFIDL)
$(SFIDL) --host-c --source --init test_types_init $(srcdir)/testidl.idl > xgen-$(@F) \
&& mv xgen-$(@F) $@
+
+# == t279-backtrace-test ==
+t279-backtrace-test: misctests
+ @echo " RUN " $@
+ $(Q) ./misctests --backtrace 2>t279-backtrace-test.tmp && \
+ grep -qi 'Backtrace' t279-backtrace-test.tmp && \
+ grep -qi 'in my_compare_func' t279-backtrace-test.tmp
+ $(Q) rm -f t279-backtrace-test.tmp
+ @echo " PASS " $@
+check-local: t279-backtrace-test
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]