- May 14, 2015
-
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
see e1fb276d4619
-
Adrian Buehlmann authored
see also 3c5e818ac679
-
- May 08, 2015
-
-
Pierre-Yves David authored
As check-code is actually quite long to run for its file size, this prevent them to be scheduled too late during the test run. This reduces my typical test run from 107 seconds to 90 seconds
-
Pierre-Yves David authored
The 'test-check-code-hg.t' file is not big enough to be prioritized properly. As a result my tests run often spend about 15 seconds running only it at the end of its tests run. We make the "slow" mechanism a bit smarter to adjust the extra weight of each category independently in a future patch.
-
Durham Goode authored
This refactors the syntax+rule concatenation logic to be more separated. It determines the syntax and the rule separately and then puts them back together. This will help in a later patch when we want to process just the rule before it gets concatenated.
-
Durham Goode authored
This refactors the ignore file reading code into a function so that in a future patch we can make it recursive.
-
- May 13, 2015
-
-
Katsunori FUJIWARA authored
This is a preparation for subsequent patches, which expect that all locally defined (= mercurial specific) modules are already known before examinations. Looping twice for specified modules is a little redundant, but reasonable cost for improvement in subsequent patches.
-
Katsunori FUJIWARA authored
Before this patch, "import-check.py" is invoked via "xargs" in "test-module-imports.t", but it doesn't ensure that "import-checker.py" is certainly invoked with all mercurial specific files at once. "xargs" may invoke specified command multiple times with part of arguments given from stdin: according to "xargs(1)" man page, this dividing arguments is system-dependent. This patch adds "xargs" like mode to "import-checker.py". This can ensure that "import-checker.py" is certainly invoked with all mercurial specific files at once in "test-module-imports.t". This is assumed by subsequent patches.
-
Adrian Buehlmann authored
-
- Apr 14, 2015
-
-
Augie Fackler authored
This test now passes in both 3.5 and 2.6.
-
Augie Fackler authored
-
Augie Fackler authored
-
Augie Fackler authored
This makes it clear we need to ban os.popen, but we'll do that in a later cleanup.
-
- Apr 13, 2015
-
-
Augie Fackler authored
-
Augie Fackler authored
-
Augie Fackler authored
-
Augie Fackler authored
In Python 3.5, file.write() returns the number of bytes it wrote instead of None.
-
- Apr 14, 2015
-
-
Augie Fackler authored
-
Augie Fackler authored
lines is already bytes, so this is just fixing a bug on python 3.
-
Augie Fackler authored
-
- Apr 13, 2015
-
-
Augie Fackler authored
-
Augie Fackler authored
This works the same-enough on 2.6 and 3.5 to be fine.
-
Augie Fackler authored
-
Augie Fackler authored
-
Augie Fackler authored
-
- Apr 21, 2015
-
-
Augie Fackler authored
This method was introduced in Python 3.5 to satisfy our diffing-strings-of-bytes needs.
-
- Apr 12, 2015
-
-
Augie Fackler authored
-
Augie Fackler authored
-
Augie Fackler authored
-
- Apr 14, 2015
-
-
Augie Fackler authored
-
Augie Fackler authored
-
Augie Fackler authored
This introduces a bname attribute for when we need to use the test name in a path, and retains name for when we need it as a string. Sadly, we seem to need both of these.
-
Augie Fackler authored
-
Augie Fackler authored
On python 2 this is just os.environ, but on python 3 we need to get to os.environb in several places.
-
Augie Fackler authored
-
- Apr 11, 2015
-
-
Augie Fackler authored
-
Augie Fackler authored
We now get slightly further on Python 3. Python 2.6 still works.
-
Augie Fackler authored
-