summaryrefslogtreecommitdiffstats
path: root/make/scripts/runtest.sh
blob: c58b69a511ac2d6d0fe34b5ffd80142dc865aeeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/bash

builddir=$1
shift

if [ -z "$builddir" ] ; then 
    echo Usage $0 build-dir
    exit 1
fi

function onetest() {
    clazz=$1
    shift
    echo $clazz
    java -Djava.library.path=$builddir/obj:$builddir/test/build/natives -classpath lib/junit.jar:$builddir/classes:$builddir/test/build/classes $clazz
    echo
}

onetest com.jogamp.common.util.TestRecursiveToolkitLock
#onetest com.jogamp.gluegen.test.TestPointerBufferEndian
#onetest com.jogamp.gluegen.test.TestStructAccessorEndian