View Issue Details

IDProjectCategoryView StatusLast Update
0023452Open CASCADEOCCT:Testspublic2013-04-29 15:21
ReporterskiAssigned Tomkv 
PriorityhighSeverityminor 
Status closedResolutionfixed 
PlatformAOSL 
Product Version6.5.3 
Target Version6.6.0Fixed in Version6.6.0 
Summary0023452: Couldn't catch results produced by commands "data" and "tpstat"
DescriptionCouldn't catch results produced by commands "data" and "tpstat" in tcl (test) scripts
TagsNo tags attached.
Test case numberNot needed

Attached Files

  • tests_correction_23452.tar.gz (3,417 bytes)

Relationships

related to 0023461 closedbugmaster Integration of test grid "xstp" into the new testing system 
related to 0023439 closedika Integration of test grid "xigs" into the new testing system 

Activities

ski

2012-10-03 12:25

developer   ~0021630

The branch CR23452 is ready to be reviewed.

abv

2012-10-03 16:26

manager   ~0021641

Ok, while I would make it simpler:

Message::DefaultMessenger() = new Message::Messenger(new Draw_Printer (theCommands));

ski

2012-10-03 16:50

developer   ~0021642

The branch CR23452 is improved, remarks were applied.

mkv

2012-10-04 11:49

tester   ~0021652

Dear BugMaster,
Branch CR23452 (and products from GIT master) was compiled on Linux and Windows platforms.
There are compilaton errors:
Linux:
../../../src/XSDRAW/XSDRAW.cxx: In static member function 'static void XSDRAW::LoadDraw(Draw_Interpretor&)':
../../../src/XSDRAW/XSDRAW.cxx:113: error: expected type-specifier
../../../src/XSDRAW/XSDRAW.cxx:113: error: no match for 'operator=' in 'Message::DefaultMessenger() = (int*)operator new(4u)'
../../../inc/Handle_Message_Messenger.hxx:25: note: candidates are: Handle_Message_Messenger& Handle_Message_Messenger::operator=(const Handle_Message_Messenger&)
../../../inc/Handle_Message_Messenger.hxx:25: note: Handle_Message_Messenger& Handle_Message_Messenger::operator=(const Message_Messenger*)
../../../src/XSDRAW/XSDRAW.cxx:113: error: expected %<;%>
make[2]: *** [XSDRAW.lo] Error 1
http://jenkins-test-01.nnov.opencascade.com/user/mnt/my-views/view/CR23452/job/mnt-CR23452-master_build_occt_linux/1/parsed_console/?

WNT:
64>..\..\..\src\XSDRAW\XSDRAW.cxx(113) : error C2039: 'Messenger' : is not a member of 'Message'
64> ..\..\..\inc\Message.hxx(51) : see declaration of 'Message'
64>..\..\..\src\XSDRAW\XSDRAW.cxx(113) : error C2061: syntax error : identifier 'Messenger'
http://jenkins-test-01.nnov.opencascade.com/user/mnt/my-views/view/CR23452/job/mnt-CR23452-master_build_occt_windows/1/parsed_console/?

ski

2012-10-05 16:48

developer   ~0021672

The branch CR23452 is improved.

abv

2012-10-05 17:15

manager   ~0021673

This version is definitely better, please test

mkv

2012-10-08 14:53

tester   ~0021678

Dear BugMaster,
Branch CR23452 (and products from GIT master) was compiled on Linux and Windows platforms and tested.

Regressions:
chl 934 E2 H6 H7 H8

Improvements:
Not detected

Testing cases:
Not needed

See results in /QADisk/occttests/results/KAS/dev/CR23452-master-products_06102012/lin
See reference results in /QADisk/occttests/results/KAS/dev/IR-2012-09-21-master-products_24092012/lin
See test cases in /QADisk/occttests/tests/ED

Test cases chl 902 F9, xigs 001 A1 A2, xstp 001 A1 will be modified after raising this fix.

ski

2012-10-11 11:24

developer   ~0021717

In testing cases with regressions
chl 934 E2 H6 H7 H8
when XProgress's text and graph modes are ON we get wrong output of commands (sewing, fixshape).
There is no progress information during the executing of those commands.

gka

2012-11-12 13:32

developer   ~0022208

Listed cases are not regressions because they can not give valid results as
class Draw_ProgressIndicator puts output messages in the default printer ( by default it set to cout). And output messages from progress indicator can not be
found in Draw_Interpretor in the current version.

For example test chl 934 E2 is failed on the Open CAASCDE 6.5.3 on Windows 7.0.

mkv

2012-11-13 17:29

tester   ~0022230

Dear gka!
Test cases chl 934 E2 H6 H7 H8 are regressions, see comment of ski at 2012-10-11 11:24.

When XProgress's text mode is ON and graph mode is OFF we get good output of commands (sewing, fixshape).
There is progress information during the executing of those commands.

gka

2012-12-11 18:50

developer   ~0022658

In the test scripts it is necessary to use only one mode either text mode or graphic mode to output information from Progress Indicator.
Please note that on Windows 7.0 in the Open CASCCADE 6.5.3 both modes did not work at the same time.
The same way in the current branch test cases chl 934 E2 H6 H7 H8 are not regressions

mkv

2012-12-14 11:37

tester  

tests_correction_23452.tar.gz (3,417 bytes)

mkv

2012-12-14 11:37

tester   ~0022697

Dear BugMaster,

Test cases:

chl 902 F9
chl 934 E2 H6 H7 H8
xigs 001 A1 A2
xstp 001 A1
bugs iges(003) buc60685

are modified.

Related Changesets

occt: master fa350ff0

2012-12-14 12:51:39

mkv

Details Diff
0023452: Couldn't catch results produced by commands "data" and "tpstat"
Add new printer
Improving of duplication of command's output
Simplification of removing duplication of command's output
Removing of brackets
improved version
Test correction
Affected Issues
0023452
mod - src/Draw/Draw_Printer.cxx Diff File
mod - src/XSDRAW/XSDRAW.cdl Diff File
mod - src/XSDRAW/XSDRAW.cxx Diff File

Issue History

Date Modified Username Field Change
2012-09-28 15:56 ski New Issue
2012-09-28 15:56 ski Assigned To => ski
2012-10-03 12:25 ski Note Added: 0021630
2012-10-03 12:25 ski Status new => resolved
2012-10-03 12:25 ski Assigned To ski => abv
2012-10-03 13:57 ski Steps to Reproduce Updated
2012-10-03 16:26 abv Note Added: 0021641
2012-10-03 16:26 abv Assigned To abv => ski
2012-10-03 16:26 abv Status resolved => reviewed
2012-10-03 16:50 ski Note Added: 0021642
2012-10-03 18:14 mkv Assigned To ski => mkv
2012-10-04 11:49 mkv Note Added: 0021652
2012-10-04 11:51 mkv Assigned To mkv => ski
2012-10-04 11:51 mkv Status reviewed => assigned
2012-10-05 16:48 ski Note Added: 0021672
2012-10-05 16:48 ski Assigned To ski => abv
2012-10-05 16:48 ski Status assigned => resolved
2012-10-05 17:15 abv Note Added: 0021673
2012-10-05 17:15 abv Assigned To abv => bugmaster
2012-10-05 17:15 abv Status resolved => reviewed
2012-10-05 18:13 mkv Assigned To bugmaster => mkv
2012-10-08 14:53 mkv Note Added: 0021678
2012-10-08 14:54 mkv Test case number => Not needed
2012-10-08 14:54 mkv Assigned To mkv => ski
2012-10-08 14:54 mkv Status reviewed => assigned
2012-10-11 11:24 ski Note Added: 0021717
2012-10-11 11:25 ski Assigned To ski => abv
2012-10-24 13:28 ski Relationship added related to 0023461
2012-10-24 13:28 ski Relationship added related to 0023439
2012-10-24 14:51 abv Target Version => 6.5.4
2012-11-11 14:46 abv Assigned To abv => gka
2012-11-11 14:46 abv Target Version 6.5.4 => 6.6.0
2012-11-12 13:32 gka Note Added: 0022208
2012-11-12 13:34 gka Status assigned => resolved
2012-11-12 13:34 gka Status resolved => reviewed
2012-11-13 17:29 mkv Note Added: 0022230
2012-11-13 17:30 mkv Status reviewed => assigned
2012-12-10 11:13 abv Priority normal => high
2012-12-11 18:50 gka Note Added: 0022658
2012-12-11 18:50 gka Status assigned => resolved
2012-12-11 18:50 gka Status resolved => reviewed
2012-12-14 11:37 mkv File Added: tests_correction_23452.tar.gz
2012-12-14 11:37 mkv Assigned To gka => mkv
2012-12-14 11:37 mkv Note Added: 0022697
2012-12-14 11:38 mkv Assigned To mkv => bugmaster
2012-12-14 11:38 mkv Status reviewed => tested
2012-12-18 10:45 mkv Changeset attached => occt master fa350ff0
2012-12-18 10:45 mkv Assigned To bugmaster => mkv
2012-12-18 10:45 mkv Status tested => verified
2012-12-18 10:45 mkv Resolution open => fixed
2013-04-23 13:36 aiv Status verified => closed
2013-04-29 15:21 aiv Fixed in Version => 6.6.0