diff options
Diffstat (limited to 'test/lit.common.cfg')
-rw-r--r-- | test/lit.common.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lit.common.cfg b/test/lit.common.cfg index d4e7eb310..ed7a205a5 100644 --- a/test/lit.common.cfg +++ b/test/lit.common.cfg @@ -88,6 +88,9 @@ config.substitutions.append( ('%run', config.emulator) ) # Define CHECK-%os to check for OS-dependent output. config.substitutions.append( ('CHECK-%os', ("CHECK-" + config.host_os))) +# Define %arch to check for architecture-dependent output. +config.substitutions.append( ('%arch', (config.host_arch))) + if config.host_os == 'Windows': # FIXME: This isn't quite right. Specifically, it will succeed if the program # does not crash but exits with a non-zero exit code. We ought to merge |