verify.py (12870:9b917f0e3864) | verify.py (12897:9f8c25581024) |
---|---|
1#!/usr/bin/env python2 2# 3# Copyright 2018 Google, Inc. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 56 unchanged lines hidden (view full) --- 65 66 for key, val in props.iteritems(): 67 setattr(self, key, val) 68 69 def dir(self): 70 return os.path.join(self.build_dir, tests_rel_path, self.path) 71 72 def src_dir(self): | 1#!/usr/bin/env python2 2# 3# Copyright 2018 Google, Inc. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 56 unchanged lines hidden (view full) --- 65 66 for key, val in props.iteritems(): 67 setattr(self, key, val) 68 69 def dir(self): 70 return os.path.join(self.build_dir, tests_rel_path, self.path) 71 72 def src_dir(self): |
73 return os.path.join(script_path, self.path) | 73 return os.path.join(script_dir, self.path) |
74 75 def golden_dir(self): 76 return os.path.join(self.src_dir(), 'golden') 77 78 def bin(self): 79 return '.'.join([self.name, self.suffix]) 80 81 def full_path(self): --- 134 unchanged lines hidden --- | 74 75 def golden_dir(self): 76 return os.path.join(self.src_dir(), 'golden') 77 78 def bin(self): 79 return '.'.join([self.name, self.suffix]) 80 81 def full_path(self): --- 134 unchanged lines hidden --- |