File: upstream

package info (click to toggle)
data-generators-clojure 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 164 kB
  • sloc: xml: 22; sh: 20; makefile: 14
file content (14 lines) | stat: -rw-r--r-- 413 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/data.generators.jar:test

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

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