Skip to content

Technical Setup For OpenJDK 8 Test Fest

May 14, 2013

Newest GeeCON event comes our way fast: Test Fest. See event page for details, or if you just want a quick glimpse what’s that read newsflash – my previous very concise post about it.

I wanted to outline technical setup that’s needed for one to participate effectively and NOT waste their time during the event itself.

Essentials

DO bring your laptop and it’s power supply with you, obviously. That’s like, most important.

Download your platform compilers AHEAD of the event. Otherwise a whole load of people will eat up the internet during Test Fest by virtue of simultaneous downloading.

  • Ubuntu/Debian: ‘sudo apt-get install build-essential
  • Mac: Download X-Code from the Mac Store.
  • Windows: download links can be found at: https://java.net/projects/adoptopenjdk/pages/BuildWindows#Build_on_Windows
  • We shall follow Richard’s fine idea and try to bring some USB sticks along with latest JDK builds and already downloaded source code, but we can’t do this for things like X-Code and Visual Studio because Apple requires the Mac Store to install and Microsoft only gives you a web-based installer to download.

    Procedure

    Nicely outlined in this blog post, but please do note the comment by Peter Lawrey, about using `configure` instead of `make sanity`.

    Also, to call both `get_source.sh` and `configure` you will have to make them executable by chmod 744 fileName.

    Running first one lasts a few minutes. Running second may cause errors due to missing libraries. Just following script’s advice is quite enough. It usually says what is missing and how to apt-get it. At least for me it did. ;-)

    Generally – set aside half an hour – it takes some time to finish.

    Speedup = ccache

    You may want to add ccache in version greater than 3.1.4. Ubuntu 10.4 didn’t have it in repositories, but I presume newer systems do. Lesser version won’t matter as build won’t use it.

    Testing

    Prepare your environment heeding the following:

  • you never will change API you will test
  • you cannot introduce any dependencies (Fest, Mockito, Calliper, etc. forget it)
  • you should write simple and concise tests
  • About these ads

    From → Uncategorized

    Leave a Comment

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s

    Follow

    Get every new post delivered to your Inbox.

    %d bloggers like this: