-
Notifications
You must be signed in to change notification settings - Fork 1
Test Suite
Vlad Ureche edited this page Jun 15, 2014
·
3 revisions
The test suite contains several corner cases that we stumbled upon while developing the transformation. It is executed with each commit:
To run the test suite on your own, you need a local clone of the code available on github or the DRT Virtual Machine:
$ cd ~/Workspace/value-plugin/
acc@acc-vm:~/Workspace/value-plugin$ sbt test
[info] Loading project definition from /home/acc/Workspace/value-plugin/project
[info] Set current project to valium (in build file:/home/acc/Workspace/value-plugin/)
[info] Set current project to valium (in build file:/home/acc/Workspace/value-plugin/)
[info] Compiling 7 Scala sources to /home/acc/Workspace/value-plugin/tests/benchmarks/target/scala-2.11/classes...
[info] Compiling 13 Scala sources to /home/acc/Workspace/value-plugin/tests/correctness/target/scala-2.11/classes...
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] No tests to run for valium/test:test
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] No tests to run for valium-runtime/test:test
[info] Compiling 9 Scala sources to /home/acc/Workspace/value-plugin/tests/correctness/target/scala-2.11/test-classes...
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] No tests to run for valium-plugin/test:test
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] No tests to run for valium-bench/test:test
Picking plugin from: /home/acc/Workspace/value-plugin/tests/correctness/../../components/plugin/target/scala-2.11
Picking tests from: /home/acc/Workspace/value-plugin/tests/correctness/src/valium/testcases
Compiling bottom.scala ... [ OK ]
Compiling case.scala ... [ OK ]
Compiling coerce1.scala ... [ OK ]
Compiling coerce2.scala ... [ OK ]
Compiling complex.scala ... [ OK ]
Compiling extension.scala ... [ OK ]
Compiling multi.scala ... [ OK ]
Compiling multibridge.scala ... [ OK ]
Compiling multipoly.scala ... [ OK ]
Compiling single.scala ... [ OK ]
Compiling singlebridge.scala ... [ OK ]
Compiling singlepoly.scala ... [ OK ]
Compiling tailcall.scala ... [ OK ]
[info] Passed: Total 11, Failed 0, Errors 0, Passed 11
[success] Total time: 27 s, completed Jun 15, 2014 4:43:41 PM
These tests are executed with each commit:
The [next chapter](Source Code) explains the source code layout and how to explore it.