run-tests: fix --interactive option
authorPierre-Yves David <pierre-yves.david@fb.com>
Sat, 17 May 2014 00:47:42 -0700
changeset 21388 9a1e3d705c2c
parent 21387 82f8d4e95c87
child 21389 e741972017d9
run-tests: fix --interactive option ``TTest._testpath`` never existed. This must be the remain of some contributors side refactoring.
tests/run-tests.py
--- 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, ''