We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 415a801 commit 236dbc5Copy full SHA for 236dbc5
3 files changed
CHANGES.md
@@ -2,7 +2,7 @@
2
3
## 1.2.1 (unreleased)
4
5
-- nothing yet
+- Fix test-script to not end with backslash if there is no `testpaths` (which is valid).
6
7
## 1.2.0 (2025-06-04)
8
src/mxmake/templates/pytest-run-coverage.sh
@@ -26,7 +26,7 @@ coverage run \
26
{% if omitpaths %}
27
--omit=$omits \
28
{% endif %}
29
- -m pytest \
+ -m pytest {% if testpaths %}\{% endif %}
30
{% for path in testpaths %}
31
{{ path }}{% if not loop.last %} \{% endif %}
32
src/mxmake/templates/pytest-run-tests.sh
@@ -1,9 +1,13 @@
1
{% extends "env.sh" %}
{% block env_content %}
-pytest \
+
+pytest {% if testpaths %}\{% endif %}
9
{% endfor %}
10
11
12
13
{% endblock %}
0 commit comments