You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "John Sirois (JIRA)" <ji...@apache.org> on 2015/11/11 20:59:10 UTC

[jira] [Commented] (AURORA-547) Python tests produce a pex?

    [ https://issues.apache.org/jira/browse/AURORA-547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15000982#comment-15000982 ] 

John Sirois commented on AURORA-547:
------------------------------------

2 tests do this:
{noformat}
$ git grep -n src/main/python/apache/thermos/runner:thermos_runner -- src/test/python/
src/test/python/apache/aurora/executor/test_thermos_executor.py:271:          "src/main/python/apache/thermos/runner:thermos_runner"]) == 0
src/test/python/apache/aurora/executor/test_thermos_task_runner.py:72:          "src/main/python/apache/thermos/runner:thermos_runner"]) == 0
{noformat}

Pants supports control over the `dist/` dir location via env var or flag so this is easy to move into a tmp test dir.

> Python tests produce a pex?
> ---------------------------
>
>                 Key: AURORA-547
>                 URL: https://issues.apache.org/jira/browse/AURORA-547
>             Project: Aurora
>          Issue Type: Bug
>          Components: Build
>            Reporter: Kevin Sweeney
>            Assignee: John Sirois
>            Priority: Minor
>
> When invoking the toplevel build Python test target I noticed that it now produces a .pex
> {noformat}
> % ./pants src/test/python:all
> Build operating on top level addresses: set([BuildFileAddress(src/test/python/BUILD, all)])
> ...
> src.test.python.apache.thermos.monitoring.test_disk                             .....   SUCCESS
> Building PythonBinary PythonBinary(BuildFileAddress(src/main/python/apache/thermos/bin/BUILD, thermos)):
> Wrote /Users/ksweeney/workspace/aurora/dist/thermos.pex
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)