gegl r2983 - in trunk: . tests/buffer
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2983 - in trunk: . tests/buffer
- Date: Sun, 22 Mar 2009 09:17:26 +0000 (UTC)
Author: martinn
Date: Sun Mar 22 09:17:25 2009
New Revision: 2983
URL: http://svn.gnome.org/viewvc/gegl?rev=2983&view=rev
Log:
Handle builddir != srcdir for buffer tests
Handle builddir != srcdir for buffer tests. This makes make distcheck
pass.
Modified:
trunk/ChangeLog
trunk/tests/buffer/Makefile.am
Modified: trunk/tests/buffer/Makefile.am
==============================================================================
--- trunk/tests/buffer/Makefile.am (original)
+++ trunk/tests/buffer/Makefile.am Sun Mar 22 09:17:25 2009
@@ -24,7 +24,7 @@
# Our custom target rules
-buffer-tests.inc: $(buffer_test_SOURCES) Makefile.am tests/*.c
+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 -1|sed -e s:tests/:: -e s:\\\.c::`; do \
echo "#define TEST() static gchar * $$TEST (void)" >> $@;\
@@ -42,9 +42,9 @@
done;
echo '};' >> $@
-buffer-tests-report: buffer-test$(EXEEXT) reference/*.buf
+buffer-tests-report: buffer-test$(EXEEXT) $(top_srcdir)/tests/buffer/reference/*.buf
-./buffer-test$(EXEEXT)
- diff -s -r -U 50 reference/ output/ > buffer-tests-report; true
+ diff -s -r -U 50 $(top_srcdir)/tests/buffer/reference/ output/ > buffer-tests-report; true
# Don't forget to clean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]