Deleted Added
sdiff udiff text old ( 2932:eba74420a01c ) new ( 2953:10e7700b27f6 )
full compact
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2006 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 141 unchanged lines hidden (view full) ---

150 refdir -- subdirectory containing reference output (default 'ref')
151 timeout -- test timeout in minutes (only enforced on pool)
152
153 """
154
155 default_refdir = False
156 if refdir == 'ref':
157 default_refdir = True
158 if len(cpu_list) == 0:
159 cpu_list = env['CPU_MODELS']
160 if env['TEST_CPU_MODELS']:
161 temp_cpu_list = []
162 for i in env['TEST_CPU_MODELS']:
163 if i in cpu_list:
164 temp_cpu_list.append(i)
165 cpu_list = temp_cpu_list
166# Code commented out that shows the general structure if we want to test
167# different OS's as well.
168# if len(os_list) == 0:
169# for test_cpu in cpu_list:
170# build_cpu_test(env, category, '', test_cpu, refdir, timeout)
171# else:
172# for test_os in os_list:
173# for test_cpu in cpu_list:

--- 89 unchanged lines hidden ---