Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Add par_test variant of par_binary, passthrough testonly attr #36

Merged
merged 1 commit into from
Aug 8, 2017

Conversation

benley
Copy link
Contributor

@benley benley commented Jul 18, 2017

This makes it possible to run py_tests as .par files, which is occasionally useful for testing code that behaves differently when called from within a zipped executable. It also enables the uncommon (but valid, I'm pretty sure) scenario of having a par_binary definition with testonly=True set.

This makes it possible to run py_tests as .par files, which is
occasionally useful for testing code that behaves differently when
called from within a zipped executable.  It also enables the
uncommon (but valid) scenario of having a par_binary definition with
testonly=True set.
@duggelz
Copy link
Contributor

duggelz commented Jul 19, 2017

Thanks for this merge request! It'll take me a couple of days to review this, due to some other issues that I'm working on right now.

We'll want to add some sample par_test targets to the tests/ subdirectory as well.

@duggelz
Copy link
Contributor

duggelz commented Aug 8, 2017

Sorry, still trying to deal with some other Bazel breakages.

@duggelz duggelz merged commit 79550cf into google:master Aug 8, 2017
@benley
Copy link
Contributor Author

benley commented Aug 8, 2017

awesome, thank you :-)

@benley benley deleted the par-test branch August 8, 2017 20:47
@duggelz
Copy link
Contributor

duggelz commented Aug 8, 2017

Thanks for your pull request, merged. I have to do some refactoring to address Bazel changes, so I'll add tests for this at the same time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants