diff options
Diffstat (limited to 'test/README')
| -rw-r--r-- | test/README | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/README b/test/README index 2985e7a4d..f62f17851 100644 --- a/test/README +++ b/test/README @@ -1,14 +1,14 @@ The test directory contains some unit and performance tests for Scintilla. -The tests can only be run on Windows using Python 2.7 or 3.x. Running on another platform -would require writing a file similar to XiteWin.py for that platform. Python 2.7+ is required -because the bytes string type and literals are available. +The tests can only be run on Windows or Linux/Qt using Python 2.7 or 3.x. +Python 2.7+ is required because the bytes string type and literals are available. +Scintilla must be built before running any tests. -A test application is in xite.py and this can be run to experiment: +A test application for Windows only is in xite.py and this can be run to experiment: pythonw xite.py To run the basic tests: -pythonw simpleTests.py +python simpleTests.py There are some lexing tests with simple input files in several languages in the examples subdirectory and their expected lexed states in *.styled where the start of each style @@ -16,10 +16,10 @@ is marked with {styleNumber}, for example: {15}<%@{16}language=javas{15}%>{0} To run the lexing tests: -pythonw lexTests.py +python lexTests.py To check for performance regressions: -pythonw performanceTests.py +python performanceTests.py While each test run will be different and the timer has only limited granularity, some results from a 2 GHz Athlon with a DEBUG build are: 0.187 testAddLine |
