comparison test/testemulation.py @ 356:52492b304adf

Added newline to print
author Windel Bouwman
date Fri, 14 Mar 2014 13:02:16 +0100
parents c2ddc8a36f5e
children 614a7f6d4d4d
comparison
equal deleted inserted replaced
355:c2ddc8a36f5e 356:52492b304adf
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!', data) 84 self.assertEqual('Welcome to lcfos!\n', data)
85 85
86 86
87 if __name__ == '__main__': 87 if __name__ == '__main__':
88 unittest.main() 88 unittest.main()