base: support dynamic loading of Linux ELF objects in SE mode
[gem5.git] / util / regress
index 69b11c04514fa8f2c7a90bd47a2a0d4449afb758..ceaaf739d7f0a527de9fa038a99b9edcb26f3b91 100755 (executable)
@@ -41,14 +41,16 @@ add_option('-v', '--verbose', action='store_true', default=False,
            help='echo commands before executing')
 add_option('--builds',
            default='ALPHA,ALPHA_MOESI_hammer,' \
-           'ALPHA_MESI_CMP_directory,'  \
+           'ALPHA_MESI_Two_Level,'  \
            'ALPHA_MOESI_CMP_directory,' \
            'ALPHA_MOESI_CMP_token,' \
            'MIPS,' \
+           'NULL,' \
            'POWER,' \
            'SPARC,' \
-           'X86,' \
-           'ARM',
+           'X86,X86_MESI_Two_Level,' \
+           'ARM,' \
+           'HSAIL_X86',
            help="comma-separated build targets to test (default: '%default')")
 add_option('--modes',
            default='se,fs',
@@ -111,7 +113,7 @@ targets = []
 
 # start with compile-only targets, if any
 if compile_variants:
-    targets += ['%s/%s/m5.%s' % (options.build_dir, build, variant)
+    targets += ['%s/%s/gem5.%s' % (options.build_dir, build, variant)
                 for variant in compile_variants
                 for build in builds]
 
@@ -119,7 +121,7 @@ if compile_variants:
 if not tests:
     tests = ['quick']
 elif 'all' in tests:
-    tests = ['quick,long']
+    tests = ['quick', 'long']
 
 # set up test targets for scons, since we don't have any quick SPARC
 # full-system tests exclude it
@@ -155,6 +157,12 @@ if options.keep_going:
 if options.update_ref:
     scons_opts += ' --update-ref'
 
+# We generally compile gem5.fast only to make sure it compiles OK;
+# it's not very useful to run as a regression test since assertions
+# are disabled.  Thus there's not much point spending time on
+# link-time optimization.
+scons_opts += ' --no-lto'
+
 cmd = 'scons --ignore-style %s %s' % (scons_opts, ' '.join(targets))
 if options.no_exec:
     print cmd