[xmds2] 02/10: Add patch string-quote-in-run-tests.patch

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Tue Jan 7 08:30:20 UTC 2014


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

rlaboiss-guest pushed a commit to branch master
in repository xmds2.

commit b9e89c98a586ce3932c97056ee9dd09b5cfe1d18
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Mon Jan 6 13:12:17 2014 +0100

    Add patch string-quote-in-run-tests.patch
---
 debian/changelog                               |  1 +
 debian/patches/series                          |  1 +
 debian/patches/string-quote-in-run-tests.patch | 15 +++++++++++++++
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2db0990..e5101cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,7 @@ xmds2 (2.1.4-1) UNRELEASED; urgency=low
   * New patch interpreter-name-in-shebang.patch
   * New patch operator-bashism.patch
   * New patch drop-dependency-on-sphinx.patch
+  * New patch string-quote-in-run-tests.patch
 
  --
 
diff --git a/debian/patches/series b/debian/patches/series
index 49201fb..3cdf6c6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 interpreter-name-in-shebang.patch
 operator-bashism.patch
 drop-dependency-on-sphinx.patch
+string-quote-in-run-tests.patch
diff --git a/debian/patches/string-quote-in-run-tests.patch b/debian/patches/string-quote-in-run-tests.patch
new file mode 100644
index 0000000..caca8ab
--- /dev/null
+++ b/debian/patches/string-quote-in-run-tests.patch
@@ -0,0 +1,15 @@
+Description: Remove extraneous string quotes in run_tests.py
+Author: Rafael Laboissiere <rafael at laboissiere.net>
+Last-Update: 2014-01-06
+
+--- xmds2-2.1.4.orig/run_tests.py
++++ xmds2-2.1.4/run_tests.py
+@@ -138,7 +138,7 @@ def scriptTestingFunction(root, scriptNa
+   commandLineString = '"./' + simulationName + '"'
+   if commandLineElement:
+     # The command line element overrides the prefix
+-    commandLineString = '"' + commandLineElement.innerText().strip() + '"'
++    commandLineString = commandLineElement.innerText().strip()
+   if argumentsElement:
+     commandLineString += ' ' + argumentsElement.innerText().strip()
+   

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/xmds2.git



More information about the debian-science-commits mailing list