changeset 15197:06bfcf5f941d

mx: improve unittest options parsing.
author Josef Eisl <josef.eisl@jku.at>
date Thu, 17 Apr 2014 16:18:40 +0200
parents 593f7d0a6f50
children 2c0cfbf454b5
files mx/mx_graal.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mx/mx_graal.py	Thu Apr 17 15:47:44 2014 +0200
+++ b/mx/mx_graal.py	Thu Apr 17 16:18:40 2014 +0200
@@ -965,8 +965,7 @@
         parsed_args = parser.parse_args(ut_args)
     else:
         # parse all know arguments
-        parsed_args, remaining_args = parser.parse_known_args(ut_args)
-        args = remaining_args + args
+        parsed_args, args = parser.parse_known_args(ut_args)
 
     whitelist = None
     if parsed_args.baseline_whitelist: