Fix 116-nodex2oat to use arguments in custom run script
Change-Id: I47a834da921930764abdff8fdce09b026b9ad483
diff --git a/test/116-nodex2oat/run b/test/116-nodex2oat/run
index 7f90bf7..72488f0 100755
--- a/test/116-nodex2oat/run
+++ b/test/116-nodex2oat/run
@@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+flags="${@}"
+
# Make sure we can run without an oat file,
echo "Run -Xnodex2oat"
${RUN} ${flags} --runtime-option -Xnodex2oat