1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

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.
This commit is contained in:
ski
2016-02-09 17:31:17 +03:00
committed by bugmaster
parent 0a2a7b466d
commit 863f782a42
36 changed files with 171 additions and 155 deletions

View File

@@ -601,12 +601,12 @@ puts "TODO BugNumber ListOfPlatforms: RegularExpression"
Here:
* *BugNumber* is the bug ID in the tracker. For example: #12345.
* *ListOfPlatforms* is a list of platforms, at which the bug is reproduced (Linux, Windows, MacOS, or All). Note that the platform name is custom for the OCCT test system; it corresponds to the value of environment variable *os_type* defined in DRAW.
* *ListOfPlatforms* is a list of platforms, at which the bug is reproduced (Linux, Windows, MacOS, or All). Note that the platform name is custom for the OCCT test system; Use procedure *checkplatform* to get the platform name.
Example:
~~~~~
Draw[2]> puts $env(os_type)
windows
Draw[2]> checkplatform
Windows
~~~~~
* RegularExpression is a regular expression, which should be matched against the line indicating the problem in the script output.