summaryrefslogtreecommitdiffstats
path: root/make/runtest-cvm.sh
blob: 268cf6e05e441098a835f21ecba47de5407ccaca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh

CVM=$1
shift

builddir=$1
shift

if [ ! -x "$CVM" -o -z "$builddir" ] ; then 
    echo Usage $0 CVM-Binary build-dir
    exit 1
fi

echo com.sun.gluegen.test.TestPointerBufferEndian
$CVM -Dsun.boot.library.path=$builddir/obj -Xbootclasspath/a:$builddir/classes-cdc  com.sun.gluegen.test.TestPointerBufferEndian
echo
echo com.sun.gluegen.test.TestStructAccessorEndian
$CVM -Dsun.boot.library.path=$builddir/obj -Xbootclasspath/a:$builddir/classes-cdc  com.sun.gluegen.test.TestStructAccessorEndian
echo