Subversion Repositories DevTools

Rev

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

Rev 5035 Rev 5411
Line 1301... Line 1301...
1301
        my $type = $::ToolsetPROJECT_type || '';
1301
        my $type = $::ToolsetPROJECT_type || '';
1302
        ::Error ("BASE_Toolset does not support Project generation of type: $ptype " )
1302
        ::Error ("BASE_Toolset does not support Project generation of type: $ptype " )
1303
            unless ( $type eq $ptype );
1303
            unless ( $type eq $ptype );
1304
    }
1304
    }
1305
 
1305
 
-
 
1306
    ::Error ("BASE_Toolset does not support Automated Unit Tests" ) 
-
 
1307
        if ($pProject->{'autotest'} && ! $::ScmToolsetProperties{'AutoUnitTests'}); 
-
 
1308
    ::Error ("BASE_Toolset does not support Manual Unit Tests" ) 
-
 
1309
        if ($pProject->{'unittest'} && ! $::ScmToolsetProperties{'UnitTests'});
-
 
1310
 
1306
    #
1311
    #
1307
    #   Generate Phony target names
1312
    #   Generate Phony target names
1308
    #   The toolset MUST provide the targets
1313
    #   The toolset MUST provide the targets
1309
    #
1314
    #
1310
    ::MakePrint( "PHONY:\tProjectClean_$name\n" );
1315
    ::MakePrint( "PHONY:\tProjectClean_$name\n" );
Line 1352... Line 1357...
1352
    #   If this project does contain a unit test, then the name of the target
1357
    #   If this project does contain a unit test, then the name of the target
1353
    #   that will run the unit test must be added to a list
1358
    #   that will run the unit test must be added to a list
1354
    #
1359
    #
1355
    push @::TESTPROJECT_TO_ARUN, "ProjectATest_$name" if ($pProject->{'autotest'});
1360
    push @::TESTPROJECT_TO_ARUN, "ProjectATest_$name" if ($pProject->{'autotest'});
1356
    push @::TESTPROJECT_TO_URUN, "ProjectATest_$name" if ($pProject->{'autotest'});
1361
    push @::TESTPROJECT_TO_URUN, "ProjectATest_$name" if ($pProject->{'autotest'});
1357
    push @::TESTPROJECT_TO_URUN, "ProjectUTest_$name" if ($pProject->{'unittest'} );
1362
    push @::TESTPROJECT_TO_URUN, "ProjectUTest_$name" if ($pProject->{'unittest'});
1358
}
1363
}
1359
 
1364
 
1360
 
1365
 
1361
#-------------------------------------------------------------------------------
1366
#-------------------------------------------------------------------------------
1362
# Function        : TESTFRAMEWORK
1367
# Function        : TESTFRAMEWORK