1#!/bin/bash 2# Quick and dirty way to validate the DX tests against a JVM. Note that 3# even the JVM has different bugs and verification behavior depending 4# on the version. The tests pass 100% for the following setup: 5# 6# java version "1.6.0" 7# Java(TM) SE Runtime Environment (build 1.6.0-b105) 8# Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode) 9# 10# Linux ... 2.6.18.5-gg42workstation-mixed64-32 #1 SMP 11# Tue Nov 25 21:45:59 PST 2008 x86_64 GNU/Linux 12# 13# You can only run the tests if the "dx-tests" target has been built before. 14# 15java -cp ./lib/junit.jar:$ANDROID_BUILD_TOP/out/target/common/cts/dxconverter/classout/ junit.textui.TestRunner dxc.junit.AllTests 16 17 18