Skip to content

MatrixRegressionTestingSetupMac

TJTrimble edited this page Sep 17, 2017 · 4 revisions

Matrix Regression Testing Setup

This page describes setting up a the Grammar Matrix Regression Testing suite on a Mac (~ Mac OS 10.12) (See MatrixDevTop, MatrixRegressionTesting). This page is under development and should not be considered useable. For instructions on the stable setup for Ubuntu, see MatrixRegressionTestingSetup

Mac setup instructions (under development)

NOTE: This probably won't work and may not be needed

1) Get necessary additions for the LOGON tree (including 32-bit compatibility modules):

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libjpeg62 libx11-6:i386 libxext6:i386 libfontconfig1:i386
sudo apt-get install libxpm4 libxt6 libxmu6 libxft2 libjpeg62 libpng12-0
sudo apt-get install subversion
sudo apt-get install emacs
sudo apt-get install gcc

2) Download ACE (AceTop)

3) Download the matrix:

cd ~/delphin/
svn co svn://lemur.ling.washington.edu/shared/matrix/(trunk|branches/my_branch)

4) reload .bash_profile, using either source ~/.bash_profile, quitting and re-opening the terminal, or logging out and back in.

5) Download the latest ISO table from SIL to your Grammar Matrix root directory (e.g. ~/delphin/matrix/trunk/ )

wget http://www-01.sil.org/iso639-3/iso-639-3_20120206.tab -O iso.tab

6) You should now be able to run the regression tests (MatrixRegressionTesting):

cd ~/delphin/matrix/trunk/
python matrix.py -C gmcs/ r
Clone this wiki locally