Changeset bff513 in git


Ignore:
Timestamp:
May 13, 2014, 11:06:58 AM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
6368d110ccecd760ff94834c342e22196393a0b3
Parents:
fc1211afdba6f8ccb26fa000de50baaa77c11d98
Message:
removed MP tests
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Tst/regress.cmd

    rfc1211 rbff513  
    386386}
    387387
    388 sub Set_withMP
    389 {
    390   if (! $withMP)
    391   {
    392     $withMP = "no";
    393     open(MP_TEST, ">MPTest");
    394     print(MP_TEST "system(\"with\", \"MP\"); \$");
    395     close(MP_TEST);
    396     mysystem("$singular -qt MPTest > withMPtest");
    397     if (open(MP_TEST, "<withMPtest"))
    398     {
    399       $_ = <MP_TEST>;
    400       $withMP = "yes" if (/^1/);
    401       close(MP_TEST);
    402     }
    403     mysystem("$rm -f withMPtest MPTest");
    404   }
    405 }
    406 
    407 
    408 sub MPok
    409 {
    410   local($root) = $_[0];
    411 
    412   if (! open(TST_FILE, "<$root.tst"))
    413   {
    414     print (STDERR "Can not open $root.tst for reading\n");
    415     return (0);
    416   }
    417   while (<TST_FILE>)
    418   {
    419     if (/\"MP.+:.*\"/)
    420     {
    421       &Set_withMP;
    422       return (0) if ($withMP eq "no");
    423     }
    424   }
    425   return (1);
    426 }
    427 
    428388sub Diff
    429389{
     
    636596    $test_files{$test_file} = 1;
    637597    return (1);
    638   }
    639 
    640   # ignore MP stuff, if this singular does not have MP
    641   if (! MPok($root))
    642   {
    643     print "--- $root " unless ($verbosity == 0);
    644     print "Warning: $root not tested: needs MP\n";
    645     testIgnored($test_file, "Warning: $root not tested: needs MP");
    646     $test_files{$test_file} = 0;
    647     return (0);
    648598  }
    649599
Note: See TracChangeset for help on using the changeset viewer.