Subversion Repositories DevTools

Rev

Rev 6898 | Rev 7009 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6898 Rev 6906
Line 2710... Line 2710...
2710
#                       --PreDelete             - Delete generated files before running the command
2710
#                       --PreDelete             - Delete generated files before running the command
2711
#                       --RecipeTag=Name        - Name the recipe
2711
#                       --RecipeTag=Name        - Name the recipe
2712
#                                                 Allows recipe to be called by Name and clean_Name
2712
#                                                 Allows recipe to be called by Name and clean_Name
2713
#                                                 
2713
#                                                 
2714
#                       --UtfFormat=name        - Flags the program as a 'test' to be run in the Test Phase
2714
#                       --UtfFormat=name        - Flags the program as a 'test' to be run in the Test Phase
2715
#                                                 Intended to support thinks like Gradle that run tests in there own world
2715
#                                                 Intended to support things like Gradle that run tests in there own world
2716
#                                                 Enables support for (Must occur first)
2716
#                                                 Enables support for (Must occur first)
2717
#                           --AutoUtf           - Non interactive unit test
2717
#                           --AutoUtf           - Non interactive unit test
2718
#                           --NoAutoUtf         - Interactive unit Test
2718
#                           --NoAutoUtf         - Interactive unit Test
2719
#                           --UtfArg=nnn        - Argument passed into the UTF formatter
2719
#                           --UtfArg=nnn        - Argument passed into the UTF formatter
2720
#                           --UtfDir=path       - SUbdir in which the Unit Tests will be run    
2720
#                           --UtfDir=path       - SUbdir in which the Unit Tests will be run    
Line 3336... Line 3336...
3336
 
3336
 
3337
    #
3337
    #
3338
    #   Sanity test. Ensure that some file have been marked as generated
3338
    #   Sanity test. Ensure that some file have been marked as generated
3339
    #                Warn if no prerequisites found
3339
    #                Warn if no prerequisites found
3340
    #
3340
    #
3341
    ReportError("Mixed use of --NoGenerate and generated files") if (@gen_files && $noGenerate);
-
 
3342
    Warning( "GenerateFiles. --AutoGenerate option has no effect",
3341
    Warning( "GenerateFiles. --AutoGenerate option has no effect",
3343
             "The following files are 'source' files",  @has_source ) if ( @has_source );
3342
             "The following files are 'source' files",  @has_source ) if ( @has_source );
3344
    Warning( "No Prerequisite files found in $tool",@tool_args) unless ( $isaUtf || $no_warn || $#preq_files >= 0 );
3343
    Warning( "No Prerequisite files found in $tool",@tool_args) unless ( $isaUtf || $no_warn || $#preq_files >= 0 );
-
 
3344
 
-
 
3345
    #
-
 
3346
    #   These would be nice tests - but break too much
-
 
3347
    #   
-
 
3348
    #    ReportError("Mixed use of --NoGenerate and generated files") if (@gen_files && $noGenerate);
3345
#    ReportError  ( "No generated files found in $tool",@tool_args) unless ($isaUtf || $noGenerate || $#gen_files > 0);
3349
    #    ReportError  ( "No generated files found in $tool",@tool_args) unless ($isaUtf || $noGenerate || $#gen_files > 0);
3346
 
3350
 
3347
    #
3351
    #
3348
    #   Sanity test. If a UTF then we shouldn't generate files
3352
    #   Sanity test. If a UTF then we shouldn't generate files
3349
    #   
3353
    #   
3350
    if ($isaUtf ) {
3354
    if ($isaUtf ) {