From bbfdeca6f7933ddc98b45975c1f05a2babe06daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 27 Apr 2015 12:17:23 +0200 Subject: First implementation of test.py Not yet finished. --- Makefile | 2 +- scripts/test.py | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 scripts/test.py 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() -- cgit v1.2.3