summaryrefslogtreecommitdiff
path: root/dx/tests/029-unit-Bits/run
diff options
context:
space:
mode:
Diffstat (limited to 'dx/tests/029-unit-Bits/run')
-rw-r--r--dx/tests/029-unit-Bits/run8
1 files changed, 7 insertions, 1 deletions
diff --git a/dx/tests/029-unit-Bits/run b/dx/tests/029-unit-Bits/run
index 9937ce5b4..73c3dd6a0 100644
--- a/dx/tests/029-unit-Bits/run
+++ b/dx/tests/029-unit-Bits/run
@@ -14,7 +14,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-dx --junit com.android.dx.util._tests._Bits > unit-out.txt
+prog=`which dx`
+progdir=`dirname "${prog}"`
+dxjar=$progdir/../framework/dx.jar
+dxtestsjar=$progdir/../framework/dx-tests.jar
+junitjar=$progdir/../framework/junit.jar
+
+java -cp $dxtestsjar:$dxjar:$junitjar junit.textui.TestRunner com.android.dx.util.BitsTest > unit-out.txt 2>&1
if [ "$?" = "0" ]; then
echo "Yay!"