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