Only diff the commits for SPSA tests
This commit is contained in:
1 parent
ef96dd4dfc
commit
d1b354d0fd
1 file changed
+3
@@ -52,6 +52,9 @@ def gitDiffLink(test):
|
||||
else:
|
||||
repo = OpenBench.utils.path_join(*test.dev.source.split('/')[:-2])
|
||||
|
||||
if test.test_mode == 'SPSA':
|
||||
return OpenBench.utils.path_join(repo, 'compare', test.dev.sha[:8])
|
||||
|
||||
return OpenBench.utils.path_join(repo, 'compare',
|
||||
'{0}..{1}'.format( test.base.sha[:8], test.dev.sha[:8]))
|
||||
|
||||
|
||||
Reference in new issue
Block a user