View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023586 | Open CASCADE | OCCT:Tests | public | 2012-11-26 16:36 | 2013-04-29 15:21 |
Reporter | Assigned To | ||||
Priority | normal | Severity | feature | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.5.4 | ||||
Target Version | 6.6.0 | Fixed in Version | 6.6.0 | ||
Summary | 0023586: The test execution process should correctly stop on user demand | ||||
Description | In the cmd or bash, by pressing Control-C the current test run to completion and next test in queue will not execute. Thereafter, a log file will create correctly. | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
The fix allowing to break DRAW scripts and execution of tests by Control-Break is pushed to branch CR23586. Tested on Windows; need testing on Linux. |
|
Reviewed without remarks |
|
Dear MKV, Please test compilation on Linux |
|
Dear BugMaster, Branch CR23586 (and products from GIT master) was compiled on Linux and Windows platforms. There are compilation errors on Linux: ../../../src/OSD/OSD_signal.cxx:596: error: 'OSD_Exception_CTRL_BREAK' has not been declared ../../../src/OSD/OSD_signal.cxx:596: error: 'TEXT' was not declared in this scope |
|
Correction pushed to CR23586, please test |
|
Dear BugMaster, Branch CR23586 (and products from GIT master) was compiled on Linux and Windows platforms and tested. Regressions: Not detected Improvements: Not detected Testing cases: Not needed |
occt: master 8a262fa1 2012-12-07 12:12:01
Committer: abv Details Diff |
0023586: The test execution process should correctly stop on user demand Possibility to break DRAW commands by user break (Control-C) is implemented as follows: - Treatment of Control-C (SIGINT signal) on UNIX in OSD::SetSignal() is made coherent with Windows implementation: instead of attempt to raise exception (simulated by longjump, does not work anyway), signal handler just sets a flag which can be later checked by OSD::ControlBreak() - Call to OSD::ControlBreak() is added to common entry point for OCCT DRAW commands; this causes command interruption if Control-C has been pressed before its start. - Command "dbreak" added allowing to check Control-Break status from Tcl script (raises Tcl exception if break was signaled) - Command "dversion" added printing information on OCCT version, used build options, compiler, etc. - Test system modified to properly handle and report user breaks and add version info in the summary log Fix compiler error on Linux |
Affected Issues 0023586 |
|
mod - src/Draw/Draw_BasicCommands.cxx | Diff File | ||
mod - src/Draw/Draw_Interpretor.cxx | Diff File | ||
mod - src/DrawResources/TestCommands.tcl | Diff File | ||
mod - src/OSD/OSD_signal.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-11-26 16:36 |
|
New Issue | |
2012-11-26 16:36 |
|
Assigned To | => ibs |
2012-11-28 17:10 |
|
Assigned To | ibs => abv |
2012-11-28 17:10 |
|
Status | new => assigned |
2012-11-29 15:13 |
|
Note Added: 0022444 | |
2012-11-29 15:13 |
|
Assigned To | abv => bugmaster |
2012-11-29 15:13 |
|
Status | assigned => resolved |
2012-11-29 15:13 |
|
Target Version | => 6.6.0 |
2012-11-30 16:00 | bugmaster | Note Added: 0022488 | |
2012-11-30 16:00 | bugmaster | Status | resolved => reviewed |
2012-11-30 16:00 | bugmaster | Status | reviewed => tested |
2012-11-30 17:52 | bugmaster | Assigned To | bugmaster => mkv |
2012-11-30 17:52 | bugmaster | Status | tested => assigned |
2012-11-30 17:53 | bugmaster | Note Added: 0022493 | |
2012-11-30 18:02 |
|
Status | assigned => resolved |
2012-11-30 18:02 |
|
Status | resolved => reviewed |
2012-12-03 17:47 |
|
Note Added: 0022527 | |
2012-12-03 17:48 |
|
Test case number | => Not needed |
2012-12-03 17:48 |
|
Assigned To | mkv => abv |
2012-12-03 17:48 |
|
Status | reviewed => assigned |
2012-12-03 19:01 |
|
Note Added: 0022529 | |
2012-12-03 19:01 |
|
Status | assigned => resolved |
2012-12-03 19:02 |
|
Assigned To | abv => mkv |
2012-12-03 19:02 |
|
Status | resolved => reviewed |
2012-12-07 15:33 |
|
Note Added: 0022625 | |
2012-12-07 15:33 |
|
Assigned To | mkv => bugmaster |
2012-12-07 15:33 |
|
Status | reviewed => tested |
2012-12-10 17:16 |
|
Changeset attached | => occt master 8a262fa1 |
2012-12-10 17:16 |
|
Assigned To | bugmaster => abv |
2012-12-10 17:16 |
|
Status | tested => verified |
2012-12-10 17:16 |
|
Resolution | open => fixed |
2013-04-23 13:37 |
|
Status | verified => closed |
2013-04-29 15:21 |
|
Fixed in Version | => 6.6.0 |