summaryrefslogtreecommitdiff
path: root/tests/helpers/gtkdoc_fixxref_runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helpers/gtkdoc_fixxref_runner.py')
-rw-r--r--tests/helpers/gtkdoc_fixxref_runner.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/helpers/gtkdoc_fixxref_runner.py b/tests/helpers/gtkdoc_fixxref_runner.py
index d3993bd..9f8ba47 100644
--- a/tests/helpers/gtkdoc_fixxref_runner.py
+++ b/tests/helpers/gtkdoc_fixxref_runner.py
@@ -18,7 +18,12 @@ if __name__ == '__main__':
options, arguments = parser.parse_known_args()
- arguments.insert(0, os.path.join(options.binary_dir, 'gtkdoc-fixxref'))
+ arg_pos = 0
+ if os.name == 'nt':
+ arguments.insert(arg_pos, sys.executable)
+ arg_pos += 1
+
+ arguments.insert(arg_pos, os.path.join(options.binary_dir, 'gtkdoc-fixxref'))
if options.change_dir is not None:
if not os.path.exists(options.change_dir):