Archived issue #0031820

Tests - "dlog get" skips last exception when calling 'test" with echo OFF

Open CASCADEOCCT:Testsclosed7 public notes

Search issues

Description

Calling test command with echo parameter OFF leads to no last exception in [dlog get] output and incorrect test result interpretation (e.g. SKIPPED does not work).

Steps to reproduce

Modify test or environment to make data file "DejaVuSansMono.ttf" unavailable.
- testgrid 3rdparty fonts A2
  OK, works as expected - Tcl exception in HTML log and SKIPPED status.
- test 3rdparty fonts A2 1
  OK, works as expected - Tcl exception appears in RED color in a terminal.
- test 3rdparty fonts A2
  KO, test reports FAILED state and [dlog get] shows no Tcl exception in log.

Public activity

7 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Sat Oct 3 12:48:19 2020 +0300

    0031820: Tests - "dlog get" skips last exception when calling 'test" with echo OFF
    
    Added missing puts to "test" command.
02Author
Patch has been pushed to OCCT branch CR31820 - checked locally (Jenkins test have not been started yet).
03Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: abv
Date: Sun Oct 4 21:54:03 2020 +0300

    # revise code to localize processing of exception

04Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
05Commenter 5
Reviewed with minor correction, please integrate. Jenkins testing is not needed because the patch is related to situation when some data files are missing.
06Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 18038.89000000012 / 18085.73000000008 [-0.26%]
Products
Total CPU difference: 12182.170000000115 / 12217.490000000116 [-0.29%]
Windows-64-VC14:
OCCT
Total CPU difference: 19726.21875 / 19713.9375 [+0.06%]
Products
Total CPU difference: 13586.625 / 13579.390625 [+0.05%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
07Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records