Changeset 64cf022 for tests/pybin/test_run.py
- Timestamp:
- Apr 17, 2020, 4:47:44 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 692e6f1
- Parents:
- 5d10e8a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/pybin/test_run.py
r5d10e8a r64cf022 40 40 return os.path.normpath( os.path.join(settings.BUILDDIR, self.path, self.name) ) 41 41 42 @ classmethod43 def valid_name( _,name):42 @staticmethod 43 def valid_name(name): 44 44 return not name.endswith( ('.c', '.cc', '.cpp', '.cfa') ) 45 45 46 @ classmethod47 def new_target( _,target, arch):46 @staticmethod 47 def new_target(target, arch): 48 48 test = Test() 49 49 test.name = os.path.basename(target) … … 72 72 return text 73 73 74 @ classmethod75 def fmtDur( cls,duration ):74 @staticmethod 75 def fmtDur( duration ): 76 76 if duration : 77 77 hours, rem = divmod(duration, 3600)
Note: See TracChangeset
for help on using the changeset viewer.