sbsv2/raptor/test/smoke_suite/input_validation.py
branchfix
changeset 207 f7f333fcfeeb
parent 196 c0d1d904d868
equal deleted inserted replaced
206:9bc64f367d8a 207:f7f333fcfeeb
    34 
    34 
    35 	t.run()
    35 	t.run()
    36 
    36 
    37 	t.id = "43562b"
    37 	t.id = "43562b"
    38 	t.mustmatch = ["Unable to use make engine: 'arm' is not a build engine \(it's a variant but it does not extend 'make_engine'"]
    38 	t.mustmatch = ["Unable to use make engine: 'arm' is not a build engine \(it's a variant but it does not extend 'make_engine'"]
    39 	t.name = "validate_makeengine_is_a_non_makenegine_variant"
    39 	t.name = "validate_makeengine_is_a_non_makengine_variant"
    40 	t.command = base_command + " -e arm"
    40 	t.command = base_command + " -e arm"
       
    41 	t.run()
       
    42 
       
    43 	# aliases can be of the form name='blah' meaning='x.y.z'  i.e. where the alias is for a sequence of variants
       
    44 	# this tests that we detect that at least one of these variants has make_engine as a parent
       
    45 	# it is possible for one of them not to and we mustn't bomb-out just because of that
       
    46 	t.id = "43562c"
       
    47 	t.mustmatch = []
       
    48 	t.name = "validate_real_dfs_modded_makeengine_alias"
       
    49 	t.command = "export HOME=$SBS_HOME/test/custom_options/dfsconfig;  " + base_command + " -e dfstestmake -c arm.v5.urel.gcce4_4_1"
       
    50 	t.errors = 0
       
    51 	t.warnings = 0
       
    52 	t.returncode = 0
    41 	t.run()
    53 	t.run()
    42 	
    54 	
    43 	t.id = "43562"
    55 	t.id = "43562"
    44 	t.name = "input_validation"
    56 	t.name = "input_validation"
    45 	t.print_result()
    57 	t.print_result()