[eso-midas] 01/02: Remove MIDAS path from kcompare.prg call

Ole Streicher olebole at moszumanska.debian.org
Fri Apr 10 10:27:52 UTC 2015


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

olebole pushed a commit to branch debian
in repository eso-midas.

commit e05558a8d10f35e7a84aad9e9bc6bb7aa6831b2a
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Fri Apr 10 12:27:10 2015 +0200

    Remove MIDAS path from kcompare.prg call
---
 debian/patches/remove_path_from_testscript.patch | 17 +++++++++++++++++
 debian/patches/series                            |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/remove_path_from_testscript.patch b/debian/patches/remove_path_from_testscript.patch
new file mode 100644
index 0000000..33fbada
--- /dev/null
+++ b/debian/patches/remove_path_from_testscript.patch
@@ -0,0 +1,17 @@
+Author: Ole Streicher <olebole at debian.org>
+Description: Remove MIDAS path from kcompare.prg call
+ This is needed if one wants to run the tests when they are not installed
+ in the MIDASHOME directory, as f.e. in the Debian CI.
+--- a/test/prim/verify14.prg
++++ b/test/prim/verify14.prg
+@@ -373,8 +373,8 @@
+ in_a = m$symbol("MIDASHOME")			! use keyword for safety
+ in_b = m$symbol("MIDVERS")
+ !
+-write/out > create/comm select @@ {in_a}/{in_b}/test/prim/kcompare.prg
+-create/comm select @@ {in_a}/{in_b}/test/prim/kcompare.prg
++write/out > create/comm select @@ kcompare.prg
++create/comm select @@ kcompare.prg
+ write/out > show/com select
+ show/com select
+ write/out > show/code select
diff --git a/debian/patches/series b/debian/patches/series
index bf88f21..f9345ab 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -39,3 +39,4 @@ fix_statis_for.patch
 fix_selechar_c.patch
 fix_esoext_i8flag.patch
 fix_tbmerge_c.patch
+remove_path_from_testscript.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/eso-midas.git



More information about the debian-science-commits mailing list