Issue 153: New built-in variable ${OPERATING_SYSTEM}
http://code.google.com/p/robotframework/issues/detail?id=153

New issue report by pekka.klarck:
Sometimes it is useful to know on what OS tests are running. We could add
new built-in variable ${OPERATING_SYSTEM} that contains this information.
Unfortunately it is not exactly trivial for reasons listed below:

1) How to get the needed information? On Python sys.platform is probably
enough but on Jython it only shows java1.5.0_06 or something similar.

2) We have easy access to Linux, Mac, Windows and Cygwin so we can test on
those environments. But what about Solaris, Unixes, etc.? Probably we could
start with those environments we available and add others later. For those
environments that we don't recognize we can just set Unknown.

3) What level of information to show? Windows/Linux/Mac or
WinXP/WinVista/LinuxUbuntu/... I think the first approach is better, and if
more details are needed we can add ${OPERATING_SYSTEM_VERSION}.


Issue attributes:
        Status: Accepted
        Owner: ----
        Labels: Type-Enhancement Priority-Medium

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to