[ros-diffs] [janderwald] 24750: - 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

janderwald at svn.reactos.org janderwald at svn.reactos.org
Tue Nov 14 13:47:43 CET 2006


Author: janderwald
Date: Tue Nov 14 15:47:42 2006
New Revision: 24750

URL: http://svn.reactos.org/svn/reactos?rev=24750&view=rev
Log:
- 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

Modified:
    trunk/reactos/Makefile

Modified: trunk/reactos/Makefile
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/Makefile?rev=24750&r1=24749&r2=24750&view=diff
==============================================================================
--- trunk/reactos/Makefile (original)
+++ trunk/reactos/Makefile Tue Nov 14 15:47:42 2006
@@ -402,11 +402,27 @@
 		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)




More information about the Ros-diffs mailing list