check-TESTS: $(TESTS)
@failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
- faillist=""; xpasslist=""; xfaillist=""; skiplist=""; \
srcdir=$(srcdir); export srcdir; \
list=' $(TESTS) '; \
if test -n "$$list"; then \
*$$ws$$tst$$ws*) \
xpass=`expr $$xpass + 1`; \
failed=`expr $$failed + 1`; \
- xpasslist="$$xpasslist $$tst"; \
echo "XPASS: $$tst"; \
;; \
*) \
case " $(XFAIL_TESTS) " in \
*$$ws$$tst$$ws*) \
xfail=`expr $$xfail + 1`; \
- xfaillist="$$xfaillist $$tst"; \
echo "XFAIL: $$tst"; \
;; \
*) \
failed=`expr $$failed + 1`; \
- faillist="$$faillist $$tst"; \
echo "FAIL: $$tst"; \
;; \
esac; \
else \
skip=`expr $$skip + 1`; \
- skiplist="$$skiplist $$tst"; \
echo "SKIP: $$tst"; \
fi; \
done; \
test -z "$$skipped" || echo "$$skipped"; \
test -z "$$report" || echo "$$report"; \
echo "$$dashes"; \
- if test -n "$$faillist" ; then \
- echo "Failed tests:";\
- for tst in $$faillist ; do \
- echo " "$$tst;\
- done;\
- fi;\
- if test -n "$$xpasslist" ; then \
- echo "Unexpectedly passed tests:";\
- for tst in $$xpasslist ; do \
- echo " "$$tst;\
- done;\
- fi;\
- if test -n "$$xfaillist" ; then \
- echo "Expected failures:";\
- for tst in $$xfaillist ; do \
- echo " "$$tst;\
- done;\
- fi;\
- if test -n "$$skiplist" ; then \
- echo "Skipped tests:";\
- for tst in $$skiplist ; do \
- echo " "$$tst;\
- done;\
- fi;\
test "$$failed" -eq 0; \
else :; fi
##########################################
gras/msg_handle/_msg_handle_simulator.c gras/msg_handle/_msg_handle_client.c gras/msg_handle/_msg_handle_server.c : gras/msg_handle/msg_handle.c gras/msg_handle/msg_handle.xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@
- cd gras/msg_handle; ../../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ msg_handle $(srcdir)/msg_handle.xml
+ mkdir -p gras/msg_handle; cd gras/msg_handle; ../../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ msg_handle $(srcdir)/msg_handle.xml
dist-files:
@for n in $(DISTFILES) ; do echo $(SRCFILE)$$n; done