From: Karel Kočí Date: Mon, 27 Apr 2015 10:17:23 +0000 (+0200) Subject: First implementation of test.py X-Git-Tag: v201509~237 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/linux-conf-perf.git/commitdiff_plain/bbfdeca6f7933ddc98b45975c1f05a2babe06daf First implementation of test.py Not yet finished. --- 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()