Changeset 867952 in git


Ignore:
Timestamp:
Sep 24, 2011, 12:48:33 AM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
4fc80288a76122a5eefe73be2b02b699ff7caf63
Parents:
6584ccdcf5a6074b97c8e6a8a52e4ee231e2ef5b
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-24 00:48:33+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:26+01:00
Message:
ADD: cat for teamcity files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Tst/regress.cmd

    r6584ccd r867952  
    729729  $total_checks_pass++ unless $exit_status;
    730730
    731   mysystem("mv gmon.out \"gmon.$root.out\"") if (-e "gmon.out");
     731  &mysystem("mv gmon.out \"gmon.$root.out\"") if (-e "gmon.out");
    732732
    733733  testFinished($test_file, $cuser_t + $csystem_t);
     
    906906}
    907907
     908sub ViewFile
     909{
     910  local($f) = $_[0];
     911 
     912  local($ff) = myGetTCprop($f);
     913  local($b) = "$f: " . $ff;
     914   
     915  blockOpened ($b);
     916  &mysystem("cat " . $ff);
     917  blockClosed ($b);
     918}
     919
    908920
    909921if( length($teamcity) > 0 )
     
    912924
    913925  blockOpened ("init");
     926     
    914927 
    915928#  print ("TEAMCITY_BUILD_PROPERTIES_FILE: $ENV{TEAMCITY_BUILD_PROPERTIES_FILE}" );
    916929 
    917930  tcLog("TEAMCITY_BUILD_PROPERTIES_FILE: $ENV{TEAMCITY_BUILD_PROPERTIES_FILE}");
    918  
     931
     932  if ( length("$ENV{TEAMCITY_BUILD_PROPERTIES_FILE}") > 0 )
     933  {
     934    print( "teamcity.tests.runRiskGroupTestsFirst: " . myGetTCprop("teamcity.tests.runRiskGroupTestsFirst") . "\n" );
     935
     936    ViewFile("teamcity.tests.recentlyFailedTests.file");
     937    ViewFile("teamcity.build.changedFiles.file");
     938    ViewFile("teamcity.build.properties.file");
     939    ViewFile("teamcity.configuration.properties.file");
     940    ViewFile("teamcity.runner.properties.file");
     941  }
     942   
     943   
    919944  blockClosed ("init");
    920945}
     
    10591084  testSuiteFinished($teamcity);
    10601085
    1061   blockOpened ("init");
     1086#  blockOpened ("init");
    10621087 
    10631088#  print ("TEAMCITY_BUILD_PROPERTIES_FILE: $ENV{TEAMCITY_BUILD_PROPERTIES_FILE}" );
    1064  
    1065   tcLog("TEAMCITY_BUILD_PROPERTIES_FILE: $ENV{TEAMCITY_BUILD_PROPERTIES_FILE}");
    1066  
    1067   if ( length("$ENV{TEAMCITY_BUILD_PROPERTIES_FILE}") > 0 )
    1068   {
    1069     print( "teamcity.tests.runRiskGroupTestsFirst: " . myGetTCprop("teamcity.tests.runRiskGroupTestsFirst") . "\n" );
    1070     print( "teamcity.tests.recentlyFailedTests.file: " . myGetTCprop("teamcity.tests.recentlyFailedTests.file") . "\n" );
    1071     print( "teamcity.build.changedFiles.file: " . myGetTCprop("teamcity.build.changedFiles.file") . "\n" );
    1072     print( "teamcity.build.properties.file: " . myGetTCprop("teamcity.build.properties.file") . "\n" );
    1073     print( "teamcity.configuration.properties.file: " . myGetTCprop("teamcity.configuration.properties.file") . "\n" );
    1074     print( "teamcity.runner.properties.file  : " . myGetTCprop("teamcity.runner.properties.file  ") . "\n" );
    1075   }
    1076 
    1077   blockClosed ("init");
     1089
     1090#  blockClosed ("init");
    10781091   
    10791092   
Note: See TracChangeset for help on using the changeset viewer.