-
Notifications
You must be signed in to change notification settings - Fork 16
Testing and building distributions
dmiller edited this page Nov 17, 2011
·
2 revisions
Most of the tests that ship with Clojure(JVM) run. Those that don’t make sense on ClojureCLR have been edited out.
- Start Clojure.Main, execute
(load "clojure/run_tests_i")
and stand back.
Yet another alternative requires a Visual Studio Command Prompt Window. (or you can configure it in VS Tools). Change directory to where the .sln file is located and do:
MSBuild.exe build.proj /target:Test /p:Configuration="Debug 3.5" /p:Platform="Any CPU"
Configuration can be any of
- “Debug 3.5”
- “Release 3.5”
- “Debug 4.0”
- “Release 4.0”
Target can be any of:
- Build — just build the designated configuration
- Test — build and run the clojure test suite. This includes compiling various genclass and protocols needed for the testing.
- Dist — build and copy to the dist\ folder the necessary files to run ClojureCLR (not including the test_clojure files)