Print this page
9600 LDT still not happy under KPTI
*** 12,26 ****
--- 12,28 ----
#
#
# Copyright (c) 2012, 2016 by Delphix. All rights reserved.
# Copyright (c) 2017, Chris Fraire <cfraire@me.com>.
+ # Copyright 2018 Joyent, Inc.
#
import ConfigParser
import os
import logging
+ import platform
from logging.handlers import WatchedFileHandler
from datetime import datetime
from optparse import OptionParser
from pwd import getpwnam
from pwd import getpwuid
*** 562,571 ****
--- 564,577 ----
if config.has_option('DEFAULT', opt):
setattr(self, opt, config.get('DEFAULT', opt))
self.outputdir = os.path.join(self.outputdir, self.timestamp)
for section in config.sections():
+ if ('arch' in config.options(section) and
+ platform.machine() != config.get(section, 'arch')):
+ continue
+
if 'tests' in config.options(section):
testgroup = TestGroup(section)
for prop in TestGroup.props:
for sect in ['DEFAULT', section]:
if config.has_option(sect, prop):