File: unittests

package info (click to toggle)
tools-gitlibs-clojure 2.4.181-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 224 kB
  • sloc: xml: 62; sh: 42; makefile: 11
file content (14 lines) | stat: -rwxr-xr-x 408 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -efu

CLASSPATH=/usr/share/java/clojure.jar:/usr/share/java/tools.gitlibs.jar:test

cp -a src/test/clojure "$AUTOPKGTEST_TMP/test"
cd "$AUTOPKGTEST_TMP"

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