Skip to content
Snippets Groups Projects
Commit 9aee3d01 authored by Simon Heimberg's avatar Simon Heimberg
Browse files

tests: test-check-code-hg.t works for all files to check

with xargs, backslashes are eaten up. Convert them to slashes therefore.
This is only a problem with ls (on windows). hg manifest returns slashes.

The pipe char is moved before the line end for telling check-code.py that sed
does not modify the output.
parent 3119dc15
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,5 @@
New errors are not allowed. Warnings are strongly discouraged.
$ { hg manifest 2>/dev/null; ls "$TESTTMP"/*.py; } \
> | xargs "$check_code" --warnings --per-file=0 \
> || false
$ { hg manifest 2>/dev/null; ls "$TESTTMP"/*.py | sed 's-\\-/-g'; } |
> xargs "$check_code" --warnings --per-file=0 || false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment