SeattleTestbed / dist

ARCHIVAL: SeattleTestbed's old installer build tool and files
MIT License
0 stars 3 forks source link

preparetest.py doesn't run from outside of `dist` #138

Closed aaaaalbert closed 10 years ago

aaaaalbert commented 10 years ago

If you try to run [preparetest.py]() from a directory other than its residential dist, it will throw an error:

SeattleTestbed albert$ python dist/preparetest.py /tmp/foobar
Traceback (most recent call last):
  File "dist/preparetest.py", line 48, in <module>
    import testportfiller
ImportError: No module named testportfiller

The logic to import testportfiller is not up to the task. Fix it!

(Maybe we should move testportfiller to a different repo altogether?)

JustinCappos commented 10 years ago

We'll need it everywhere we need preparetest (which is basically everywhere). However, the 'build' script could potentially fetch it.

On Thu, Jul 31, 2014 at 3:36 PM, aaaaalbert notifications@github.com wrote:

If you try to run preparetest.py from a directory other than its residential dist, it will throw an error:

SeattleTestbed albert$ python dist/preparetest.py /tmp/foobar Traceback (most recent call last): File "dist/preparetest.py", line 48, in import testportfiller ImportError: No module named testportfiller

The logic to import testportfiller is not up to the task. Fix it!

(Maybe we should move testportfiller to a different repo altogether?)

— Reply to this email directly or view it on GitHub https://github.com/SeattleTestbed/dist/issues/138.

aaaaalbert commented 10 years ago

This issue is taken care of with the new build harness in SeattleTestbed/common and SeattleTestbed/buildscripts.