changeset 361:614a7f6d4d4d

Fixed test
author Windel Bouwman
date Fri, 14 Mar 2014 16:18:54 +0100
parents 42343d189e14
children c05ab629976a
files kernel/interrupt.c3 kernel/src/interrupt.c3 test/testemulation.py
diffstat 3 files changed, 11 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/kernel/interrupt.c3	Fri Mar 14 16:11:32 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-module interrupt;
-
-
-func irq_handle()
-{
-}
-
-
-
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/kernel/src/interrupt.c3	Fri Mar 14 16:18:54 2014 +0100
@@ -0,0 +1,10 @@
+module interrupt;
+
+
+func irq_handle()
+{
+}
+
+
+
+
--- a/test/testemulation.py	Fri Mar 14 16:11:32 2014 +0100
+++ b/test/testemulation.py	Fri Mar 14 16:18:54 2014 +0100
@@ -81,7 +81,7 @@
         recipe = os.path.join(testdir, '..', 'kernel', 'arm.yaml')
         self.buildRecipe(recipe)
         data = runQemu('../kernel/kernel_arm.bin', machine='vexpress-a9')
-        self.assertEqual('Welcome to lcfos!\n', data)
+        self.assertEqual('Welcome to lcfos!', data[:17])
 
 
 if __name__ == '__main__':