aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-04-27 12:17:23 +0200
committerKarel Kočí <cynerd@email.cz>2015-04-27 12:17:23 +0200
commitbbfdeca6f7933ddc98b45975c1f05a2babe06daf (patch)
tree92d874a1baa0a18902d4c78ee7cf804dc2536876
parent509ec6da2ed54bcd29b7fcf4f308abb916ad1a71 (diff)
downloadlinux-conf-perf-bbfdeca6f7933ddc98b45975c1f05a2babe06daf.tar.gz
linux-conf-perf-bbfdeca6f7933ddc98b45975c1f05a2babe06daf.tar.bz2
linux-conf-perf-bbfdeca6f7933ddc98b45975c1f05a2babe06daf.zip
First implementation of test.py
Not yet finished.
-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()