Changeset 589877d in tol


Ignore:
Timestamp:
Mar 13, 2012, 10:31:49 AM (15 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
a056b96
Parents:
6de829a
Message:

Refs #60
Refs #1448
When there are errors Include returns nothing instead of Empty

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@4344 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol_tests/tol/Bugzilla/bug_000060/test.tol

    r6de829a r589877d  
    1313  Real numErr0 = Copy(NError);
    1414  Set s = Include("badfile.tol");
     15 
     16  Real ok = !ObjectExist("Set","s");
     17
    1518//Extented information about test behaviour
    1619  Set partialResults_ =
    1720  [[
    18     Real c = Card(s)
     21    ok
    1922  ]];
    2023
    2124//This is a messure of the success of the test
    22   Real quality_ = And(numErr0+1==NError, c==0);
    23 
     25  Real quality_ = And(numErr0<NError, ok);
    2426//Return the results
    2527  Set resultStr_ = @strTestStatus(summary_, link_, quality_,
Note: See TracChangeset for help on using the changeset viewer.