Ignore:
Timestamp:
2013-08-27T21:03:55+12:00 (11 years ago)
Author:
ak19
Message:

task.pl now takes a model_os param as argument to the run_test command and passes in the test_OS and model_OS variables to diffcol.pl. These specify on what Operating System the model collections were built and what the current OS is, on which the test collections will be built when the tests are run and diffed. This will provide a more foolproof way for diffcol to work out on what OS the model collection was generated and what the current OS is (or what OS task.pl chooses to specify as the current OS for test collections).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nightly-tasks/diffcol/trunk/diffcol/gdbdiff.pm

    r28086 r28172  
    4646sub test_gdb
    4747{
    48     my ($full_modeldb, $full_testdb,$strColName) = @_;
     48    my ($full_modeldb, $full_testdb, $strColName, $test_os, $model_os) = @_;
    4949
    5050   # print "Now is testing database\n";
     
    7878    # in test and model collection to an even base for comparison
    7979   
    80     my $testIsWin = &isDBWindowsSensitive($dbname, $test_text);
    81     my $modelIsWin = &isDBWindowsSensitive($dbname, $model_text);
     80    my $testIsWin = ($test_os ne "compute") ? ($test_os eq "windows") : &isDBWindowsSensitive($dbname, $test_text);
     81    my $modelIsWin = ($model_os ne "compute") ? ($model_os eq "windows") : &isDBWindowsSensitive($dbname, $model_text);
    8282   
    8383    if($testIsWin == $modelIsWin) {     
Note: See TracChangeset for help on using the changeset viewer.