sbsv2/raptor/test/smoke_suite/romfile.py
changeset 674 37ee82a83d43
parent 641 8dd670a9f34f
equal deleted inserted replaced
673:7ae5f757318b 674:37ee82a83d43
    37 			+ "-c armv5.test ROMFILE -m ${SBSMAKEFILE} -f ${SBSLOGFILE} " \
    37 			+ "-c armv5.test ROMFILE -m ${SBSMAKEFILE} -f ${SBSLOGFILE} " \
    38 			+ "&& cat $(EPOCROOT)/epoc32/rom/src/ongoing/group/romfile/armv5test.iby"
    38 			+ "&& cat $(EPOCROOT)/epoc32/rom/src/ongoing/group/romfile/armv5test.iby"
    39 	
    39 	
    40 	t.targets = [
    40 	t.targets = [
    41 		"$(EPOCROOT)/epoc32/rom/src/ongoing/group/romfile/armv5test.iby",
    41 		"$(EPOCROOT)/epoc32/rom/src/ongoing/group/romfile/armv5test.iby",
    42 		"$(EPOCROOT)/epoc32/data/z/test/src/armv5.auto.bat",
    42 		"$(EPOCROOT)/epoc32/data/z/test/src_ongoing_romfile/armv5.auto.bat",
    43 		"$(EPOCROOT)/epoc32/data/z/test/src/armv5.manual.bat"
    43 		"$(EPOCROOT)/epoc32/data/z/test/src_ongoing_romfile/armv5.manual.bat"
    44 		]
    44 		]
    45 
    45 
    46 	# Check the content of the generated .iby file.
    46 	# Check the content of the generated .iby file.
    47 	t.mustmatch = [
    47 	t.mustmatch = [
    48 		# The comment that is put at the start of the file.
    48 		# The comment that is put at the start of the file.
    49 		r".*// epoc32/rom/src/ongoing/group/romfile/armv5test\.iby\n.*",
    49 		r".*// epoc32/rom/src/ongoing/group/romfile/armv5test\.iby\n.*",
    50 
    50 
    51 		# The batch files that are added by the build system.
    51 		# The batch files that are added by the build system.
    52 		r".*\ndata=/epoc32/data/z/test/src/armv5\.auto\.bat test/src\.auto\.bat\n.*",
    52 		r".*\ndata=/epoc32/data/z/test/src_ongoing_romfile/armv5\.auto\.bat test/armv5\.auto\.bat\n.*",
    53 		r".*\ndata=/epoc32/data/z/test/src/armv5\.manual\.bat test/src\.manual\.bat\n.*",
    53 		r".*\ndata=/epoc32/data/z/test/src_ongoing_romfile/armv5\.manual\.bat test/armv5\.manual\.bat\n.*",
    54 
    54 
    55 		# Some normal files.
    55 		# Some normal files.
    56 		r".*\nfile=/epoc32/release/##MAIN##/##BUILD##/t_rand\.exe\s+sys/bin/t_rand\.exe\n.*",
    56 		r".*\nfile=/epoc32/release/##MAIN##/##BUILD##/t_rand\.exe\s+sys/bin/t_rand\.exe\n.*",
    57 		r".*\nfile=/epoc32/release/##MAIN##/##BUILD##/t_swapfsys\.exe\s+sys/bin/t_swapfsys\.exe\n.*",
    57 		r".*\nfile=/epoc32/release/##MAIN##/##BUILD##/t_swapfsys\.exe\s+sys/bin/t_swapfsys\.exe\n.*",
    58 		r".*\nfile=/epoc32/release/##MAIN##/##BUILD##/t_localtime\.exe\s+sys/bin/t_localtime\.exe\n.*",
    58 		r".*\nfile=/epoc32/release/##MAIN##/##BUILD##/t_localtime\.exe\s+sys/bin/t_localtime\.exe\n.*",
    84 			+ "-c armv5.test ROMFILE -f -"
    84 			+ "-c armv5.test ROMFILE -f -"
    85 	
    85 	
    86 	t.mustmatch = [
    86 	t.mustmatch = [
    87 		# Check whatlog output includes batch files and .iby file
    87 		# Check whatlog output includes batch files and .iby file
    88 		r".*/epoc32/rom/src/ongoing/group/romfile/armv5test.iby</build>.*",
    88 		r".*/epoc32/rom/src/ongoing/group/romfile/armv5test.iby</build>.*",
    89 		r".*/epoc32/data/z/test/src/armv5.auto.bat</build>.*",
    89 		r".*/epoc32/data/z/test/src_ongoing_romfile/armv5.auto.bat</build>.*",
    90 		r".*/epoc32/data/z/test/src/armv5.manual.bat</build>.*"
    90 		r".*/epoc32/data/z/test/src_ongoing_romfile/armv5.manual.bat</build>.*"
    91 		]
    91 		]
    92 	t.mustnotmatch = []
    92 	t.mustnotmatch = []
    93 	t.run()
    93 	t.run()
    94 
    94 
    95 
    95