[gexiv2] Prevent escape characters inside python2-test
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gexiv2] Prevent escape characters inside python2-test
- Date: Sun, 10 Jan 2021 13:01:21 +0000 (UTC)
commit bfb84f126939fc60dbac7199a7d7303ca143902a
Author: postscript-dev <43813-postscript-dev users noreply gitlab gnome org>
Date: Sun Jan 10 13:01:21 2021 +0000
Prevent escape characters inside python2-test
In Windows, Meson returns paths with backslash separators. Single
quotes prevents the separators being used as an escape character.
test/python2-test.in | 4 ++--
test/python3-test.in | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/test/python2-test.in b/test/python2-test.in
index e82d2fd..2c051bb 100755
--- a/test/python2-test.in
+++ b/test/python2-test.in
@@ -1,4 +1,4 @@
#!/bin/sh
-@PYTHON2_PATH@ -m unittest gexiv2
-@PYTHON2_PATH@ -m unittest test_metadata
+'@PYTHON2_PATH@' -m unittest gexiv2
+'@PYTHON2_PATH@' -m unittest test_metadata
diff --git a/test/python3-test.in b/test/python3-test.in
index 7766a2d..6fb3bf8 100755
--- a/test/python3-test.in
+++ b/test/python3-test.in
@@ -1,4 +1,4 @@
#!/bin/sh
-@PYTHON3_PATH@ -m unittest gexiv2
-@PYTHON3_PATH@ -m unittest test_metadata
+'@PYTHON3_PATH@' -m unittest gexiv2
+'@PYTHON3_PATH@' -m unittest test_metadata
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]