Skip to content

Commit

Permalink
[Build] Fix pytest macro to allow --test_args to pass through
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Nov 26, 2020
1 parent 2d5436c commit 18192ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/private/pytest.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if __name__ == "__main__":
import sys
import pytest
args = sys.argv[1:] + ["-ra"] + %s + %s
args = ["-ra"] + %s + sys.argv[1:] + %s
sys.exit(pytest.main(args))""" % (_stringify(ctx.attr.args), _stringify([src.path for src in ctx.files.srcs])),
is_executable = True,
Expand Down

0 comments on commit 18192ea

Please sign in to comment.