aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--scripts/test.py17
2 files changed, 18 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 98af2c0..1fee43d 100644
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ deflinux:
ARCH=$(SRCARCH) $(MAKE) -C linux defconfig
test: $(INITRAM)
- @ #TODO
+ scripts/test.py
run: kconfig_parser write_config $(INITRAM)
scripts/main_loop.py
diff --git a/scripts/test.py b/scripts/test.py
new file mode 100644
index 0000000..5c70d13
--- /dev/null
+++ b/scripts/test.py
@@ -0,0 +1,17 @@
+#!/bin/env python3
+import os
+import sys
+
+from conf import conf
+import initialize
+import kernel
+import boot
+
+def test():
+ initialize.gen_requred() # Call this to check initial solution
+ kernel.make()
+
+#################################################################################
+
+if __name__ == "__main__":
+ test()