Mercurial > hg > graal-compiler
diff mx/mx_graal.py @ 15322:404d29e8cee6
mx: remove longunittest
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Wed, 23 Apr 2014 11:42:58 +0200 |
parents | dc2dd913c47e |
children | 6b3bb5a9a889 |
line wrap: on
line diff
--- a/mx/mx_graal.py Wed Apr 23 11:48:54 2014 +0200 +++ b/mx/mx_graal.py Wed Apr 23 11:42:58 2014 +0200 @@ -976,12 +976,10 @@ except IOError: mx.log('warning: could not read baseline whitelist: ' + baseline_whitelist_file) - if parsed_args.long_only: - annotations = ['@LongTest', '@Parameters'] - elif parsed_args.short_only: + if parsed_args.short_only: annotations = ['@Test'] else: - annotations = ['@Test', '@LongTest', '@Parameters'] + annotations = ['@Test', '@Parameters'] _unittest(args, annotations, whitelist=whitelist) @@ -991,12 +989,6 @@ args.insert(0, '--short-only') unittest(args) -def longunittest(args): - """alias for 'unittest --long-only'{0}""" - - args.insert(0, '--long-only') - unittest(args) - def buildvms(args): """build one or more VMs in various configurations""" @@ -1723,14 +1715,14 @@ """make truffle.jar""" # Test with the built classes - _unittest(["com.oracle.truffle.api.test", "com.oracle.truffle.api.dsl.test"], ['@Test', '@LongTest', '@Parameters']) + _unittest(["com.oracle.truffle.api.test", "com.oracle.truffle.api.dsl.test"], ['@Test', '@Parameters']) # We use the DSL processor as the starting point for the classpath - this # therefore includes the DSL processor, the DSL and the API. packagejar(mx.classpath("com.oracle.truffle.dsl.processor").split(os.pathsep), "truffle.jar", None, "com.oracle.truffle.dsl.processor.TruffleProcessor") # Test with the JAR - _unittest(["com.oracle.truffle.api.test", "com.oracle.truffle.api.dsl.test"], ['@Test', '@LongTest', '@Parameters'], "truffle.jar:") + _unittest(["com.oracle.truffle.api.test", "com.oracle.truffle.api.dsl.test"], ['@Test', '@Parameters'], "truffle.jar:") def isGraalEnabled(vm): @@ -1953,7 +1945,6 @@ 'gate' : [gate, '[-options]'], 'bench' : [bench, '[-resultfile file] [all(default)|dacapo|specjvm2008|bootstrap]'], 'unittest' : [unittest, '[unittest options] [--] [VM options] [filters...]', _unittestHelpSuffix], - 'longunittest' : [longunittest, '[unittest options] [--] [VM options] [filters...]', _unittestHelpSuffix], 'makejmhdeps' : [makejmhdeps, ''], 'shortunittest' : [shortunittest, '[unittest options] [--] [VM options] [filters...]', _unittestHelpSuffix], 'jacocoreport' : [jacocoreport, '[output directory]'],