Skip to content

RRO Mac Testing Plan

cmosetick edited this page Dec 10, 2014 · 19 revisions

Check Chrome Browser Settings

Change your Google Chrome settings > Advanced Settings > Downloads select, "Ask me where to save each file before downloading"

^^ The above is super important ^^

Jenkins

Now in Jenkins, make sure you click on the actual build you want to test: example: http://jenkins.mran.io:8080/view/RRO/view/RRO-8.0.1.beta/view/build-binaries/job/RRO-OSX-build-8.0.1.beta/26/

Click on the .pkg artifact (the installer)

Chrome should now ask you where you want to download all files

If not, cancel your download, and go back to Chrome settings. In Advanced, under Downloads section, select "clear auto-opening settings"

In Chrome create a new directory for each build of an installer you download, based on platform, Mac in this example:

Example:

/Users/chris/Downloads/RRO
/Users/chris/Downloads/RRO/Mac/build-27
/Users/chris/Downloads/RRO/Mac/build-27/RRO-8.0.1-Beta-OSX.pkg

Note - the new Folder button is on the bottom left side of the pop up window in Chrome.

After the .pkg installer download has completed move on the verifying the hash of the file.

Verify the hash of the installer

  1. Open up a terminal window type in shasum and then press the space bar.

  2. Open up Finder to the correct RRO build number directory. With your mouse, drag the RRO installer .pkg file into the terminal window where you have just typed shasum. The terminal will auto complete the full path to the file. Now press enter in the terminal. The hash will compute, make a note of it in the directory: e.g.
    shasum /Users/chris/Downloads/RRO/build-26/RRO-8.0.1-Beta-OSX.pkg > /Users/chris/Downloads/RRO/build-26/RRO-8.0.1-Beta-OSX.pkg-build26.sha1

Remove an R's on your system now:

sudo rm -rf /Applications/Revolution\ R\ Open.app/
sudo rm -rf /Library/Frameworks/R.framework
sudo rm -rf /Library/Frameworks/RRO.framework
sudo rm /usr/bin/R
sudo rm /usr/bin/Rscript

Run the installer

In Finder, open of the build number directory you just created. /Users/chris/Downloads/RRO/Mac/build-27 Run the installer in the build directory: RRO-8.0.1-Beta-OSX.pkg

Clone this wiki locally