# HG changeset patch # User Gilles Duboscq # Date 1366132436 -7200 # Node ID 380857cb711774dcf3e57cd5e5dae81c2d7c7e06 # Parent 45b37dcb24de9017c7ba3398aca4bbc5f67333dd Add the CTW result in to a different value depending on the mode diff -r 45b37dcb24de -r 380857cb7117 mx/sanitycheck.py --- a/mx/sanitycheck.py Tue Apr 16 19:01:24 2013 +0200 +++ b/mx/sanitycheck.py Tue Apr 16 19:13:56 2013 +0200 @@ -224,8 +224,19 @@ Full, NoInline, NoComplex = range(3) def getCTW(vm,mode): + + modeString = '' + if mode == CTWMode.Full: + modeString = 'Full' + elif mode == CTWMode.NoInline: + modeString = 'NoInline' + elif mode == CTWMode.NoComplex: + modeString = 'NoComplex' + else: + mx.abort("Unknown CTW mode") + time = re.compile(r"CompileTheWorld : Done \([0-9]+ classes, [0-9]+ methods, (?P