[Pkg-ocaml-maint-commits] [why] 01/07: fix debian/tests/frama-c+jessie+alt-ergo

Ralf Treinen treinen at moszumanska.debian.org
Mon Apr 28 19:46:27 UTC 2014


This is an automated email from the git hooks/post-receive script.

treinen pushed a commit to branch master
in repository why.

commit 34bb67d26af299dfec40eddabf468ef0d518156c
Author: Ralf Treinen <treinen at free.fr>
Date:   Mon Apr 28 20:57:34 2014 +0200

    fix debian/tests/frama-c+jessie+alt-ergo
    
    so that it runs in a virgin environment
---
 debian/changelog                     | 7 +++++++
 debian/tests/frama-c+jessie+alt-ergo | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 30279bd..c4a8442 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+why (2.33-3) UNREALEASED; urgency=medium
+
+  * fix debian/tests/frama-c+jessie+alt-ergo: run why-config when there is
+    no ${HOME}/.whyrc
+
+ -- Ralf Treinen <treinen at debian.org>  Mon, 28 Apr 2014 20:54:25 +0200
+
 why (2.33-2) unstable; urgency=low
 
   * fixed typo in debian/tests/control (dependency of frama-c+jessie+alt-ergo)
diff --git a/debian/tests/frama-c+jessie+alt-ergo b/debian/tests/frama-c+jessie+alt-ergo
index 392c607..27a60fc 100755
--- a/debian/tests/frama-c+jessie+alt-ergo
+++ b/debian/tests/frama-c+jessie+alt-ergo
@@ -5,6 +5,8 @@ set -e
 indir=${PWD}/debian/tests/c
 outdir=${TMPDIR-/tmp}
 
+if [ ! -f ${HOME}/.whyrc ]; then why-config  > /dev/null 2>&1; fi
+
 cd ${outdir}
 
 for infile in ${indir}/minimum.c

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/why.git



More information about the Pkg-ocaml-maint-commits mailing list