# Author: Brad Beckmann
#
-from __future__ import print_function
-
import m5
from m5.objects import *
from m5.defines import buildEnv
from common import Options
from common.Caches import *
from ruby import Ruby
-from six import add_metaclass
_have_kvm_support = 'BaseKvmCPU' in globals()
-@add_metaclass(ABCMeta)
-class BaseSystem(object):
+class BaseSystem(object, metaclass=ABCMeta):
"""Base system builder.
This class provides some basic functionality for creating an ARM
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-from __future__ import print_function
-
from multiprocessing import Process
import sys
import os
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-from __future__ import print_function
-
import m5
import _m5
from m5.objects import *
import threading
import gzip
-from six.moves import urllib
+import urllib.error
+import urllib.request
from testlib.fixture import Fixture
from testlib.configuration import config, constants
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-from __future__ import print_function
-
import sys
import os
import os.path
Test file for simple memory test
TODO: Add stats checking
'''
-import six
from testlib import *
for name, params in simple_mem_params:
- args = ['--' + key + '=' + val for key,val in six.iteritems(params)]
+ args = ['--' + key + '=' + val for key,val in params.items()]
gem5_verify_config(
name='simple_mem_' + name,
Discovers and runs all tests from a given root directory.
'''
-from __future__ import print_function
import sys
import os
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-from __future__ import print_function
-
import os
import sys
import re