diff options
author | Simon Glass <sjg@chromium.org> | 2020-03-18 09:42:46 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-10 21:21:06 -0400 |
commit | b2d89bc53887dfee44220243c1266a7cf627feff (patch) | |
tree | 6e4713707f3678b852a352d0f481d4110fed3f43 /tools/buildman/func_test.py | |
parent | 925f6adfa53c2a80a1d7ce731e628cded13f5363 (diff) |
buildman: Allow building within a subdir of the current dir
This is useful in some situations, in particular with -w and when building
in-tree. Now that we are more careful about what we remove in
_PrepareOutputSpace(), it should be safe to relax this restriction.
Update the progress information also so it is clear what buildman is
doing. Remove files can take a long time.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/func_test.py')
-rw-r--r-- | tools/buildman/func_test.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/buildman/func_test.py b/tools/buildman/func_test.py index f9f8f80593c..2a256a92639 100644 --- a/tools/buildman/func_test.py +++ b/tools/buildman/func_test.py @@ -534,15 +534,6 @@ class TestFunctional(unittest.TestCase): self.assertEqual(self._builder.count, self._total_builds) self.assertEqual(self._builder.fail, 0) - def testBadOutputDir(self): - """Test building with an output dir the same as out current dir""" - self._test_branch = '/__dev/__testbranch' - with self.assertRaises(SystemExit): - self._RunControl('-b', self._test_branch, '-o', os.getcwd()) - with self.assertRaises(SystemExit): - self._RunControl('-b', self._test_branch, '-o', - os.path.join(os.getcwd(), 'test')) - def testWorkInOutput(self): """Test the -w option which should write directly to the output dir""" board_list = board.Boards() |