File: run-build-tests

package info (click to toggle)
spec-alpha-clojure 0.5.238-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 328 kB
  • sloc: xml: 146; sh: 41; makefile: 5
file content (12 lines) | stat: -rwxr-xr-x 380 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -efu

CLASSPATH=/usr/share/java/clojure.jar:/usr/share/java/test.check.jar:src/main/clojure:src/test/clojure

java \
    -cp "$CLASSPATH" \
    clojure.main \
    -e "(require '[clojure.test])" \
    -e "(require '[clojure.test-clojure.spec])" \
    -e "(System/exit (if (clojure.test/successful? (clojure.test/run-tests
         'clojure.test-clojure.spec)) 0 1))"