/coal-mine

Clojure(Script) compiler characterization tests corpus

Primary LanguageClojureEclipse Public License 1.0EPL-1.0

Coal Mine

A large corpus of Clojure(Script) compiler characterization tests derived from submissions by the top 1000 users on 4Clojure.

Current Stats: 50,000 tests, 195,000 assertions, 368,000 LOC.

This is useful for regression testing compiler patches. Since the codebase is large, it is also useful for testing compiler performance.

To run all tests via Clojure:

clj -Mclj -m coal-mine.test-runner

or, to break things into smaller runs

clj -Mclj -m coal-mine.test-runner-1
clj -Mclj -m coal-mine.test-runner-2
clj -Mclj -m coal-mine.test-runner-3
clj -Mclj -m coal-mine.test-runner-4
clj -Mclj -m coal-mine.test-runner-5

or via ClojureScript

clj -Mcljs -m coal-mine.test-runner

or via Planck

plk -m coal-mine.test-runner

Alternatively,

clj -Mnode

will run the all the tests via ClojureScript on Node, split for RAM use reduction.