Merge "Revert "test: Add desugar support to run-test"" am: fbc3fffc4a
am: f68577ce65
Change-Id: I0be123c6338f495a0eaa9edd51aac5271a8afbfe
diff --git a/test/etc/run-test-jar b/test/etc/run-test-jar
index 8aacc8c..118fcca 100755
--- a/test/etc/run-test-jar
+++ b/test/etc/run-test-jar
@@ -635,6 +635,8 @@
vdex_cmdline="${dex2oat_cmdline} ${VDEX_FILTER} --input-vdex=$DEX_LOCATION/oat/$ISA/$TEST_NAME.vdex --output-vdex=$DEX_LOCATION/oat/$ISA/$TEST_NAME.vdex"
elif [ "$TEST_VDEX" = "y" ]; then
vdex_cmdline="${dex2oat_cmdline} ${VDEX_FILTER} --input-vdex=$DEX_LOCATION/oat/$ISA/$TEST_NAME.vdex"
+ elif [ "$PROFILE" = "y" ] || [ "$RANDOM_PROFILE" = "y" ]; then
+ vdex_cmdline="${dex2oat_cmdline} --input-vdex=$DEX_LOCATION/oat/$ISA/$TEST_NAME.vdex --output-vdex=$DEX_LOCATION/oat/$ISA/$TEST_NAME.vdex"
fi
fi