comparison test/testemulation.py @ 361:614a7f6d4d4d

Fixed test
author Windel Bouwman
date Fri, 14 Mar 2014 16:18:54 +0100
parents 52492b304adf
children c49459768aaa
comparison
equal deleted inserted replaced
360:42343d189e14 361:614a7f6d4d4d
79 def testKernelVexpressA9(self): 79 def testKernelVexpressA9(self):
80 """ Build vexpress cortex-A9 binary and emulate it """ 80 """ Build vexpress cortex-A9 binary and emulate it """
81 recipe = os.path.join(testdir, '..', 'kernel', 'arm.yaml') 81 recipe = os.path.join(testdir, '..', 'kernel', 'arm.yaml')
82 self.buildRecipe(recipe) 82 self.buildRecipe(recipe)
83 data = runQemu('../kernel/kernel_arm.bin', machine='vexpress-a9') 83 data = runQemu('../kernel/kernel_arm.bin', machine='vexpress-a9')
84 self.assertEqual('Welcome to lcfos!\n', data) 84 self.assertEqual('Welcome to lcfos!', data[:17])
85 85
86 86
87 if __name__ == '__main__': 87 if __name__ == '__main__':
88 unittest.main() 88 unittest.main()