# Copyright (C) 2012-2020 MIPS Tech LLC # Written by Matthew Fortune <*****@*****.**> and # Daniel Sanders <*****@*****.**> # This file is part of Overtest. # # Overtest is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # Overtest is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with overtest; see the file COPYING. If not, write to the Free # Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. import os import VersionCheck from CSUtils import DA print os.environ DA.UseTarget("DA-net 45")
fileserver_root = os.path.dirname(test_file) test_name = os.path.basename(test_file) if da_name == None: print "Error: No debug adapter specified" sys.exit(4) #######################################/ threads_loaded = {} threads_started = {} threads_stopped = {} threads_strs = {} DA.UseTarget(da_name) for target in DA.IterateTargets(): threads_loaded[target] = False threads_started[target] = False threads_stopped[target] = False threads_strs[target] = None success = True result = 1 begin = 0 print "=" * 80 print "OneTest. running: %s" % test_name print textwrap.fill(" ".join(args[1:]), 80)