X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tools%2Fbinman%2Felf_test.py;h=b68530c19ba6e6c724bed6d970a5dfcc203049d3;hb=3d5ced9e22d32112a20f9dc0f5fb1f22ef088079;hp=c16f71401d1c92be88e0d53979e5b2ba16b1fffc;hpb=373413cce6260acdf14de762f94010b627a77a3b;p=platform%2Fkernel%2Fu-boot.git diff --git a/tools/binman/elf_test.py b/tools/binman/elf_test.py index c16f714..b68530c 100644 --- a/tools/binman/elf_test.py +++ b/tools/binman/elf_test.py @@ -10,6 +10,7 @@ import unittest import elf import test_util +import tools binman_dir = os.path.dirname(os.path.realpath(sys.argv[0])) @@ -46,6 +47,10 @@ class FakeSection: class TestElf(unittest.TestCase): + @classmethod + def setUpClass(self): + tools.SetInputDirs(['.']) + def testAllSymbols(self): """Test that we can obtain a symbol from the ELF file""" fname = os.path.join(binman_dir, 'test', 'u_boot_ucode_ptr')