View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027146 | Open CASCADE | OCCT:Tests | public | 2016-02-09 17:28 | 2016-12-09 16:37 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Target Version | 7.1.0 | Fixed in Version | 7.1.0 | ||
Summary | 0027146: Create command checkplatform | ||||
Description | In some test cases it is necessary to run platform-depended code or reference values. So, for better clarity command checkplatform should be created. It should work in two modes: 1) without arguments - return the name of current platform (value of $tcl_platform(platform) -> windows / unix ) 2) with argument -windows or -unix - return true if current platform is equal to the argument | ||||
Steps To Reproduce | N/A | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Branch CR27146 has been created by ski. SHA-1: fe8f7f076318cae93a8dc4443ac646e06d62d5dc Detailed log of new commits: Author: ski Date: Tue Feb 9 17:31:17 2016 +0300 0027146: Create command checkplatform Command checkplatform was created. All test cases were updated. |
|
Dear abv, please review. |
|
Please distinguish Mac OS X as separate platform (could be "osx"). |
|
Branch CR27146 has been updated by ski. SHA-1: 1d07829439001a5472232a61f9af5648b0b946c3 Detailed log of new commits: Author: ski Date: Wed Feb 10 12:54:17 2016 +0300 Global variable os_type was eliminated. New option -osx (MacOS) for procedure checkplatform was added. |
|
Dear abv, Global variable os_type was eliminated. New option -osx (MacOS) for procedure checkplatform was added. Please, review. |
|
Branch CR27146 has been updated forcibly by ski. SHA-1: 1b8e1621a3f8bada4b72e5c66f7fb8fe50a4df27 |
|
Branch CR27146 was rebased on current state of master. Also, i have checked product repository and corrected some test cases to use procedure checkplatform. All changes are located in PRODUCT branch CR27146. |
|
No remarks, please test |
|
Branch CR27146 has been updated forcibly by mkv. SHA-1: 7e7054e520a95c0730a196b6cfb87ecb8dc916c3 |
|
Dear BugMaster, Branch CR27146 was rebased on current master of occt git-repository. SHA-1: 7e7054e520a95c0730a196b6cfb87ecb8dc916c3 |
|
Dear BugMaster, Branch CR27146 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode. SHA-1: 7e7054e520a95c0730a196b6cfb87ecb8dc916c3 Number of compiler warnings: occt component : Linux: 0 (0 on master) Windows: 0 (0 on master) MacOS : 0 (0 on master) products component : Linux: 41 (41 on master) Windows: 0 (0 on master) Regressions/Differences/Improvements: No regressions/differences Testing cases: Not needed Testing on Linux: occt component : Total MEMORY difference: 89317840 / 90554927 [-1.37%] Total CPU difference: 19263.940000000057 / 19576.420000000107 [-1.60%] products component : Total MEMORY difference: 26027868 / 25872807 [+0.60%] Total CPU difference: 5373.779999999992 / 5316.139999999985 [+1.08%] Testing on Windows: occt component : Total MEMORY difference: 57371720 / 57106337 [+0.46%] Total CPU difference: 19269.71152299935 / 17710.10712559875 [+8.81%] products component : Total MEMORY difference: 17492873 / 17395600 [+0.56%] Total CPU difference: 5548.300365799991 / 5095.257861699954 [+8.89%] There are no differences in images found by testdiff. |
|
Dear BugMaster, Branch CR27146 is TESTED. |
|
Branch CR27146 has been deleted by kgv. SHA-1: 7e7054e520a95c0730a196b6cfb87ecb8dc916c3 |
occt: master 863f782a 2016-02-09 14:31:17
Committer: bugmaster Details Diff |
0027146: Create command checkplatform Command checkplatform was created. All test cases were updated. Global variable os_type was eliminated. New option -osx (MacOS) for procedure checkplatform was added. |
Affected Issues 0027146 |
|
mod - dox/dev_guides/tests/tests.md | Diff File | ||
mod - src/DrawResources/CheckCommands.tcl | Diff File | ||
mod - src/DrawResources/TestCommands.tcl | Diff File | ||
mod - tests/3rdparty/export/A1 | Diff File | ||
mod - tests/bugs/caf/bug23071 | Diff File | ||
mod - tests/bugs/fclasses/bug23852 | Diff File | ||
mod - tests/bugs/fclasses/bug309 | Diff File | ||
mod - tests/bugs/modalg_2/bug426 | Diff File | ||
mod - tests/bugs/modalg_5/bug23906 | Diff File | ||
mod - tests/bugs/modalg_5/bug25019 | Diff File | ||
mod - tests/bugs/modalg_5/bug25413 | Diff File | ||
mod - tests/bugs/modalg_6/bug26447 | Diff File | ||
mod - tests/bugs/moddata_1/bug15519 | Diff File | ||
mod - tests/bugs/moddata_1/bug21292 | Diff File | ||
mod - tests/bugs/moddata_2/bug567 | Diff File | ||
mod - tests/bugs/moddata_3/bug25487_1 | Diff File | ||
mod - tests/bugs/moddata_3/bug25487_2 | Diff File | ||
mod - tests/bugs/vis/bug21091_3 | Diff File | ||
mod - tests/bugs/vis/bug21091_4 | Diff File | ||
mod - tests/bugs/vis/bug21091_5 | Diff File | ||
mod - tests/bugs/vis/bug21091_6 | Diff File | ||
mod - tests/bugs/vis/bug21091_8 | Diff File | ||
mod - tests/bugs/vis/bug21091_9 | Diff File | ||
mod - tests/bugs/vis/bug22188 | Diff File | ||
mod - tests/bugs/vis/bug232 | Diff File | ||
mod - tests/bugs/vis/bug26424 | Diff File | ||
mod - tests/bugs/xde/bug22898 | Diff File | ||
mod - tests/chamfer/data/complex/B9 | Diff File | ||
mod - tests/demo/draw/getsource | Diff File | ||
mod - tests/mesh/data/standard/G1 | Diff File | ||
mod - tests/mesh/data/standard/U7 | Diff File | ||
mod - tests/perf/fclasses/bug24947 | Diff File | ||
mod - tests/perf/ncollection/A1 | Diff File | ||
mod - tests/perf/ncollection/A2 | Diff File | ||
mod - tests/perf/ncollection/A3 | Diff File | ||
mod - tests/xml/begin | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-02-09 17:28 |
|
New Issue | |
2016-02-09 17:28 |
|
Assigned To | => ski |
2016-02-09 17:28 |
|
Status | new => assigned |
2016-02-09 17:34 | git | Note Added: 0050550 | |
2016-02-09 17:34 |
|
Note Added: 0050551 | |
2016-02-09 17:34 |
|
Assigned To | ski => abv |
2016-02-09 17:34 |
|
Status | assigned => resolved |
2016-02-09 17:58 |
|
Note Added: 0050552 | |
2016-02-09 17:58 |
|
Assigned To | abv => ski |
2016-02-09 17:58 |
|
Status | resolved => assigned |
2016-02-10 12:54 | git | Note Added: 0050566 | |
2016-02-10 13:10 |
|
Note Added: 0050567 | |
2016-02-10 13:10 |
|
Assigned To | ski => abv |
2016-02-10 13:10 |
|
Status | assigned => resolved |
2016-02-15 10:34 | git | Note Added: 0050728 | |
2016-02-15 10:37 |
|
Note Added: 0050731 | |
2016-02-19 18:47 |
|
Note Added: 0051030 | |
2016-02-19 18:47 |
|
Assigned To | abv => bugmaster |
2016-02-19 18:47 |
|
Status | resolved => reviewed |
2016-02-24 16:03 |
|
Assigned To | bugmaster => mkv |
2016-02-24 17:06 | git | Note Added: 0051086 | |
2016-02-25 17:17 |
|
Note Added: 0051137 | |
2016-02-25 17:18 |
|
Note Added: 0051138 | |
2016-02-25 17:18 |
|
Note Added: 0051139 | |
2016-02-25 17:18 |
|
Assigned To | mkv => bugmaster |
2016-02-25 17:18 |
|
Status | reviewed => tested |
2016-02-25 17:18 |
|
Test case number | => Not needed |
2016-04-08 11:55 | bugmaster | Changeset attached | => occt master 863f782a |
2016-04-08 11:55 | bugmaster | Status | tested => verified |
2016-04-08 11:55 | bugmaster | Resolution | open => fixed |
2016-04-17 14:14 | git | Note Added: 0053115 | |
2016-12-09 16:33 |
|
Status | verified => closed |
2016-12-09 16:37 |
|
Fixed in Version | => 7.1.0 |