jtreg for Mac OS X (original) (raw)
Weijun Wang weijun.wang at oracle.com
Wed Feb 22 17:37:45 PST 2012
- Previous message: jtreg for Mac OS X
- Next message: RFR: 7113349 JDK8 port to macosx
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
And Cygwin support for sh tests, where
CYGWIN* )
NULL=/dev/null
PATHSEP=";"
FILESEP="/"
;;
3.13 says "the tests in the JDK regression test suite assume that MKS is available". I guess that is not necessary anymore.
-Max
On 02/23/2012 08:40 AM, Jonathan Gibbons wrote:
Thanks, Mike.
-- Jon On 02/22/2012 02:02 PM, Mike Swingler wrote: On Feb 22, 2012, at 1:48 PM, Jonathan Gibbons wrote:
I'm updating the jtreg FAQ, http://openjdk.java.net/jtreg/faq.html and notice a couple of questions that need to be updated for the Mac.
Would someone care to provide the details necessary to update question 4.7 http://openjdk.java.net/jtreg/faq.html#question4.7 and question 4.13 http://openjdk.java.net/jtreg/faq.html#question4.13 The appropriate checks are: In Java: osName.contains("OS X") In shell: uname -s == Darwin While Darwin will also cover the non-graphical Darwin OS, for all intents and purposes, Darwin is accurate enough for the OpenJDK project. To be perfectly pedantic from the command line, you can always use the swvers tool, but that does not exist on other platforms: % swvers -productName This will return "Mac OS X", and "Mac OS X Server" in currently released versions of Mac OS X. It's value should precisely match System.getProperty("os.name"). Regards, Mike Swingler Apple Inc.
- Previous message: jtreg for Mac OS X
- Next message: RFR: 7113349 JDK8 port to macosx
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]