Changeset 6de829a in tol


Ignore:
Timestamp:
Mar 13, 2012, 10:29:58 AM (15 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
589877d
Parents:
2c7071c
Message:

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

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

File:
1 edited

Legend:

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

    r2c7071c r6de829a  
    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);
     25  Real quality_ = And(numErr0<NError, ok);
    2326
    2427//Return the results
Note: See TracChangeset for help on using the changeset viewer.