[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.5.1-20081221-157-gd57fcbf)
The branch, master has been updated
via d57fcbf52893127f5a37656f65c6f076c6d51470 (commit)
from 330e6bc49a83a176c549644011d186dbc5e1d8b9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
gnetlist/tests/hierarchy/Makefile.am | 8 ++++++--
gnetlist/tests/hierarchy2/Makefile.am | 8 ++++++--
2 files changed, 12 insertions(+), 4 deletions(-)
=================
Commit Messages
=================
commit d57fcbf52893127f5a37656f65c6f076c6d51470
Author: Maciej Pijanka <agaran@xxxxxxxxxxxxx>
Date: Thu Jan 8 00:33:25 2009 +0000
gnetlist: Fix test/hierarchy*/Makefile.am to detect failures
Unfortunately the exit code weren't getting propagated back from diff,
so the test-suite would continue on inspite of errors.
:100644 100644 25907cb... 1d8f694... M gnetlist/tests/hierarchy/Makefile.am
:100644 100644 71f0735... 8abe31b... M gnetlist/tests/hierarchy2/Makefile.am
=========
Changes
=========
commit d57fcbf52893127f5a37656f65c6f076c6d51470
Author: Maciej Pijanka <agaran@xxxxxxxxxxxxx>
Date: Thu Jan 8 00:33:25 2009 +0000
gnetlist: Fix test/hierarchy*/Makefile.am to detect failures
Unfortunately the exit code weren't getting propagated back from diff,
so the test-suite would continue on inspite of errors.
diff --git a/gnetlist/tests/hierarchy/Makefile.am b/gnetlist/tests/hierarchy/Makefile.am
index 25907cb..1d8f694 100644
--- a/gnetlist/tests/hierarchy/Makefile.am
+++ b/gnetlist/tests/hierarchy/Makefile.am
@@ -13,7 +13,9 @@ BUILDDIR=$(top_builddir)/tests/hierarchy
SRCDIR=$(srcdir)
GNETLIST=$(top_builddir)/src/gnetlist
-tests:
+tests: tests-job tests-clean
+
+tests-job:
rm -f $(BUILDDIR)/new_*
( export TESTDIR=$(SRCDIR); \
echo $$TESTDIR; \
@@ -21,7 +23,9 @@ tests:
$(GNETLIST) \
-o $(BUILDDIR)/new_hierarchy.geda -g geda \
$(SRCDIR)/top.sch )
- diff $(SRCDIR)/hierarchy.geda $(BUILDDIR)/new_hierarchy.geda; \
+ diff $(SRCDIR)/hierarchy.geda $(BUILDDIR)/new_hierarchy.geda;
+
+tests-clean:
rm -f $(BUILDDIR)/gnetlistrc
MOSTLYCLEANFILES = new_* core *.log FILE *.ps *~
diff --git a/gnetlist/tests/hierarchy2/Makefile.am b/gnetlist/tests/hierarchy2/Makefile.am
index 71f0735..8abe31b 100644
--- a/gnetlist/tests/hierarchy2/Makefile.am
+++ b/gnetlist/tests/hierarchy2/Makefile.am
@@ -9,7 +9,9 @@ check_SCRIPTS = tests
BUILDDIR=$(top_builddir)/tests/hierarchy2
SRCDIR=$(srcdir)
-tests:
+tests: tests-job tests-clean
+
+tests-job:
rm -f $(BUILDDIR)/new_*
( export TESTDIR=$(SRCDIR); \
echo $$TESTDIR; \
@@ -17,7 +19,9 @@ tests:
gnetlist \
-o $(BUILDDIR)/new_hierarchy2.geda -g geda \
$(SRCDIR)/top.sch )
- diff $(SRCDIR)/hierarchy2.geda $(BUILDDIR)/new_hierarchy2.geda; \
+ diff $(SRCDIR)/hierarchy2.geda $(BUILDDIR)/new_hierarchy2.geda;
+
+tests-clean:
rm -f $(BUILDDIR)/gafrc
MOSTLYCLEANFILES = new_* core *.log FILE *.ps *~
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs