Merge lp:~brian.curtin/dirspec/windows-buildout into lp:dirspec
| Status: | Merged |
|---|---|
| Approved by: | Diego Sarmentero on 2012-07-20 |
| Approved revision: | 12 |
| Merged at revision: | 12 |
| Proposed branch: | lp:~brian.curtin/dirspec/windows-buildout |
| Merge into: | lp:dirspec |
| Diff against target: |
57 lines (+18/-24) 1 file modified
run-tests.bat (+18/-24) |
| To merge this branch: | bzr merge lp:~brian.curtin/dirspec/windows-buildout |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Diego Sarmentero (community) | Approve on 2012-07-20 | ||
| dobey (community) | 2012-07-17 | Approve on 2012-07-18 | |
|
Review via email:
|
|||
Commit Message
Adjust run-tests.bat to work with the Windows buildout environment.
Description of the Change
Update run-tests.bat to work with our buildout environments.
- 12. By Brian Curtin on 2012-07-17
-
c&p error, trial isn't used here
| Brian Curtin (brian.curtin) wrote : | # |
Fixed. That was a block pasted in from the other run-tests.bat files.
windowsbatchlint would have caught that
| Mike McCracken (mikemc) wrote : | # |
Just left as a comment because I'm about to leave for a few days, but I can't run the tests with the buildout python - I think I must be missing a dependency somewhere?
C:\Users\
running test
running egg_info
writing dirspec.
writing top-level names to dirspec.
writing dependency_links to dirspec.
reading manifest file 'dirspec.
reading manifest template 'MANIFEST.in'
writing manifest file 'dirspec.
running build_ext
Traceback (most recent call last):
File "C:\Users\
execfile(
File "setup.py", line 26, in <module>
test_
File "C:\Python27\
dist.
File "C:\Python27\
self.
File "C:\Python27\
cmd_obj.run()
File "C:\Python27\
self.
File "C:\Python27\
func()
File "C:\Python27\
testLoader = loader_class()
File "C:\Python27\
self.
File "C:\Python27\
self.
File "C:\Python27\
self.module)
File "C:\Python27\
suites = [self.loadTests
File "C:\Python27\
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'tests'
| Brian Curtin (brian.curtin) wrote : | # |
Ah yes, you need testtools installed. That's a part of a previous change to dirspec that Rodney made. If you manually add it to your buildout it'll work. I'll get it added to the buildout.cfg in bzr.

+FOR %%B in (u1trial) do (SET TRIALPATH= %%~$PATH: B)
We are not using u1trial in dirspec, nor have we ever been (as it would introduce a circular dep, and now a dep on twisted which doesn't work with python3). This line should be removed.