[dia] Rough test which would have caught both regressions in dia-0.97.2



commit fc0d26458caf97eb32155dfb574584852c5babf7
Author: Hans Breuer <hans breuer org>
Date:   Sat Jun 23 16:03:21 2012 +0200

    Rough test which would have caught both regressions in dia-0.97.2
    
    - bug 688587 (already fixed) should have crashed it.
    - bug 676959 still makes it fail (check against dtd)
    
    rt.shape:499: element text: validity error : No declaration for
     attribute font-size of element text
    Document rt.shape does not validate against ../doc/shape.dtd

 tests/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 00ad957..2df6b1f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -10,8 +10,11 @@ tests:
 #	@test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS}
 
 test: $(TEST_PROGS)
+	../app/run_dia.sh ../samples/render-test.dia --export=rt.shape && \
+	xmllint --dtdvalid ../doc/shape.dtd rt.shape
 	./objects ../objects//
 
+
 # rum make test as part of make check
 check-local: test
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]