[gegl] tests: Don't output details when generating buffer-tests.inc
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] tests: Don't output details when generating buffer-tests.inc
- Date: Sat, 15 May 2010 15:33:33 +0000 (UTC)
commit c10dd6358ebbe4353da93deab471a8ff70863051
Author: Martin Nordholts <martinn src gnome org>
Date: Fri May 14 18:55:31 2010 +0200
tests: Don't output details when generating buffer-tests.inc
tests/buffer/Makefile.am | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/tests/buffer/Makefile.am b/tests/buffer/Makefile.am
index 4aef7e2..f2d9916 100644
--- a/tests/buffer/Makefile.am
+++ b/tests/buffer/Makefile.am
@@ -26,22 +26,23 @@ buffer_test_LDADD = \
# Our custom target rules
buffer-tests.inc: $(buffer_test_SOURCES) Makefile.am $(top_srcdir)/tests/buffer/tests/*.c
- echo '/* this file is generated by the build system */' > $@
- for TEST in `ls tests/*.c |sed -e s:tests/:: -e s:\\\.c::`; do \
+ @echo 'Generating $@'
+ @echo '/* this file is generated by the build system */' > $@
+ @for TEST in `ls tests/*.c |sed -e s:tests/:: -e s:\\\.c::`; do \
echo "#define TEST() static gchar * $$TEST (void)" >> $@;\
echo "#include \"tests/"$$TEST".c\"" >> $@;\
echo "#undef TEST" >> $@;\
done;
- echo 'typedef gchar *(*TestFunc) ();TestFunc tests[]={' >> $@
- for TEST in `ls tests/*.c |sed -e s:tests/:: -e s:\\\.c::`; do \
+ @echo 'typedef gchar *(*TestFunc) ();TestFunc tests[]={' >> $@
+ @for TEST in `ls tests/*.c |sed -e s:tests/:: -e s:\\\.c::`; do \
echo $$TEST, >> $@;\
done;
- echo '};' >> $@
- echo 'static gchar *test_names[]={' >> $@
- for TEST in `ls tests/*.c |sed -e s:tests/:: -e s:\\\.c::`; do \
+ @echo '};' >> $@
+ @echo 'static gchar *test_names[]={' >> $@
+ @for TEST in `ls tests/*.c |sed -e s:tests/:: -e s:\\\.c::`; do \
echo \"$$TEST\", >> $@;\
done;
- echo '};' >> $@
+ @echo '};' >> $@
buffer-tests-report: buffer-test$(EXEEXT) $(top_srcdir)/tests/buffer/reference/*.buf
-./buffer-test$(EXEEXT)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]