Skip to content
Raphael Theiler edited this page Jan 26, 2016 · 9 revisions

We use Travis CI to automatically test the compiler and the VM.

Current status: Build Status

Status Report

How do we test?

In order to test our compiler we use the official clojure (1.7.0) compiler as a reference. We have a folder with test scripts and for each test script we call the reference compiler and compare the (console) output with the out of our own compiler/vm. If the output is the same, we call it a success, otherwise the test failed.

Manual Testing

Change to the clojit-cvm project directory and then run runtests.sh.

Or - if you want to provide additional parameters, etc:

Change into the test-runner directory:

cd test-runner

Use the gradlew-script to run the tests:

./gradlew test -i

The -i option provides more debug output (and actually shows the console output of the tests).

The script also output the path where the test-report (html-file) is located.

Travis CI

We use Travis CI to automatically run our test cases for each commit. The build status is shown on top of this page (along with a link to the status report).

Travis page

Clone this wiki locally