From 8269b5eebd07ddb6bdd399530ff5cefb6947ded8 Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Tue, 14 Nov 2006 12:47:42 +0000 Subject: [PATCH] - implement target sysregtest which compiles all required modules and generates an unattended bootcdregtest which is feed to sysregtest and executes the required tests - fix regtest target svn path=/trunk/; revision=24750 --- reactos/Makefile | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/reactos/Makefile b/reactos/Makefile index 6c766ebbc44..c3a34be1957 100644 --- a/reactos/Makefile +++ b/reactos/Makefile @@ -402,11 +402,27 @@ universe: ROS_OUTPUT=output-$(ARCH)-r \ world +sysregtest: + mkdir $(OUTPUT_)cd$(SEP)reactos + $(cp) boot$(SEP)bootdata$(SEP)unattend.inf.sample boot$(SEP)bootdata$(SEP)unattend.inf + $(cp) boot$(SEP)bootdata$(SEP)unattend.inf.sample $(OUTPUT_)cd$(SEP)reactos$(SEP)unattend.inf + $(cp) boot$(SEP)bootdata$(SEP)bootcdregtest$(SEP)testboot.bat.sample boot$(SEP)bootdata$(SEP)bootcdregtest$(SEP)testboot.bat + $(MAKE) dbgprint + $(MAKE) bootcdregtest + $(MAKE) sysreg + $(OUTPUT_)tools$(SEP)sysreg$(SEP)sysreg$(EXEPOSTFIX) tools$(SEP)sysreg$(SEP)txtmode.cfg rosboot + $(OUTPUT_)tools$(SEP)sysreg$(SEP)sysreg$(EXEPOSTFIX) tools$(SEP)sysreg$(SEP)secstage.cfg rosboot + $(OUTPUT_)tools$(SEP)sysreg$(SEP)sysreg$(EXEPOSTFIX) tools$(SEP)sysreg$(SEP)runonce.cfg rosboot + +sysregtest_clean: + $(rm) boot$(SEP)bootdata$(SEP)unattend.inf + $(rm) boot$(SEP)bootdata$(SEP)bootcdregtest$(SEP)testboot.bat + $(rm) $(OUTPUT_)cd$(SEP)reactos$(SEP)unattend.inf regtest: - $(cp) boot\bootdata\unattend.inf.sample output-i386\cd\reactos\unattend.inf + $(cp) boot$(SEP)bootdata$(SEP)unattend.inf.sample $(OUTPUT_)cd$(SEP)reactos$(SEP)unattend.inf $(MAKE) bootcdregtest - $(rm) output-i386\cd\reactos\unattend.inf + $(rm) $(OUTPUT_)cd$(SEP)reactos$(SEP)unattend.inf .PHONY: msvc msvc: $(RBUILD_TARGET)