changeset 21388:9a1e3d705c2c

run-tests: fix --interactive option ``TTest._testpath`` never existed. This must be the remain of some contributors side refactoring.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Sat, 17 May 2014 00:47:42 -0700
parents 82f8d4e95c87
children e741972017d9
files tests/run-tests.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Sat May 17 00:38:48 2014 -0700
+++ b/tests/run-tests.py	Sat May 17 00:47:42 2014 -0700
@@ -590,9 +590,9 @@
             iolock.release()
             if answer.lower() in ('y', 'yes'):
                 if self._test.endswith('.t'):
-                    rename(self._errpath, self._testpath)
+                    rename(self._errpath, self._path)
                 else:
-                    rename(self._errpath, '%s.out' % self._testpath)
+                    rename(self._errpath, '%s.out' % self._path)
 
                 return '.', self._test, ''