]> granicus.if.org Git - graphviz/commitdiff
do regression tests during rpm builds
authorellson <devnull@localhost>
Wed, 7 Nov 2007 03:16:11 +0000 (03:16 +0000)
committerellson <devnull@localhost>
Wed, 7 Nov 2007 03:16:11 +0000 (03:16 +0000)
graphviz.spec.in

index 0eb25d6b2f7c65c0371cbefb7ac8e05ea216796c..7bc29f3270d3fbfc4b8d607288b212f4b6aed899 100644 (file)
@@ -575,6 +575,13 @@ cp -a %{buildroot}%{_datadir}/%{name}/doc __doc
 rm -rf %{buildroot}%{_datadir}/%{name}/doc
 
 %clean
+# regression test
+export LD_LIBRARY_PATH=%{buildroot}/lib:$LD_LIBRARY_PATH
+export PATH=%{buildroot}/bin:$PATH
+dot -c
+cd rtest
+ksh rtest.sh
+# clean up temporary installation
 rm -rf %{buildroot}
 
 #-- changelog --------------------------------------------------