buildframework/helium/sf/java/imaker/tests/antunit/test_imaker.ant.xml
branchhelium-9.0
changeset 618 df88fead2976
parent 587 85df38eb4012
equal deleted inserted replaced
587:85df38eb4012 618:df88fead2976
   276         <au:assertFileDoesntExist file="${epocroot.temp}/output.log" />
   276         <au:assertFileDoesntExist file="${epocroot.temp}/output.log" />
   277         <au:assertLogContains text="Could not find a valid configuration for product_invalid" />
   277         <au:assertLogContains text="Could not find a valid configuration for product_invalid" />
   278         <au:assertLogContains text="Nothing to build." />
   278         <au:assertLogContains text="Nothing to build." />
   279     </target>
   279     </target>
   280 
   280 
       
   281     <target name="test-imaker-imakerconfiguration-variableset-invalid-engine">
       
   282         <au:expectfailure message="Could not find engine reference: 'invalid.engine.ref'.">
       
   283             <hlm:imaker epocroot="${epocroot}" output="${epocroot.temp}/output.log" engineRefid="invalid.engine.ref">
       
   284                 <hlm:imakerconfiguration>
       
   285                     <makefileset>
       
   286                         <include name="**/product/*ui.mk" />
       
   287                     </makefileset>
       
   288                     <targetset>
       
   289                         <include name="core" />
       
   290                         <include name="langpack_\d+" />
       
   291                     </targetset>
       
   292                     <variablegroup>
       
   293                         <variable name="TYPE" value="rnd" />
       
   294                     </variablegroup>
       
   295                     <variablegroup>
       
   296                         <variable name="TYPE" value="prd" />
       
   297                     </variablegroup>
       
   298                 </hlm:imakerconfiguration>
       
   299             </hlm:imaker>
       
   300         </au:expectfailure>
       
   301         <au:assertLogContains text="Using engine: invalid.engine.ref" />
       
   302         <au:assertFileDoesntExist file="${epocroot.temp}/output.log" />
       
   303     </target>
       
   304     
   281 </project>
   305 </project>