mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
buildman: Fix the 'help' test to use the correct path
When buildman is run via a symlink, this test fails. Fix it to work the same way as buildman itself. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
8e605a5e3e
commit
bd6f5d98de
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class TestFunctional(unittest.TestCase):
|
|||
self._base_dir = tempfile.mkdtemp()
|
||||
self._git_dir = os.path.join(self._base_dir, 'src')
|
||||
self._buildman_pathname = sys.argv[0]
|
||||
self._buildman_dir = os.path.dirname(sys.argv[0])
|
||||
self._buildman_dir = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||
command.test_result = self._HandleCommand
|
||||
self.setupToolchains()
|
||||
self._toolchains.Add('arm-gcc', test=False)
|
||||
|
|
Loading…
Reference in a new issue