47
46
if not os.path.isfile('setup.py'):
48
47
raise TestSkipped('There is no setup.py file in current directory')
49
57
self.log('test_build running in %s' % os.getcwd())
51
59
# setup.py must be run from the root source directory, but the tests
52
60
# are not necessarily invoked from there
53
61
self.source_dir = os.path.dirname(os.path.dirname(bzrlib.__file__))