summaryrefslogtreecommitdiffstats
path: root/src/test.cc
Commit message (Collapse)AuthorAgeFilesLines
* windows: use _WIN32 define everywhereEvan Martin2012-01-221-1/+1
| | | | Rather than mixing use of WIN32 and _WIN32.
* GetTempPath() needs windows.hFrances Buontempo2012-01-111-0/+4
|
* migrate tempdir code to test.ccEvan Martin2012-01-061-0/+91
|
* convert all time_t to a new TimeStamp typeEvan Martin2012-01-051-1/+1
|
* Include <algorithm> for std::find in test.ccFrances Buontempo2012-01-031-0/+2
|
* switch the core ninja parser to use re2c for the lexerEvan Martin2011-12-291-1/+1
| | | | | | | | | - Delete the old "Tokenizer" code. - Write separate tests for the lexer distinct from the parser. - Switch the parser to use the new code. - New lexer error output has file:line numbers so e.g. Emacs can jump your editor to the syntax error. - The EvalEnv ($-interpolation) code is now part of the lexer as well.
* disable the 'unused parameter' warningEvan Martin2011-12-051-1/+1
| | | | It was firing too often, and hadn't uncovered any bugs.
* Fix compilation warning in Ninja's test suite.Nicolas Despres2011-11-211-1/+1
|
* Return non-zero status when errors occur.Nicolas Despres2011-05-021-3/+6
| | | | | | Clean all was not returning non-zero when an error occur (like when failing to remove a directory). This patch fix the problem and add a test for it.
* Add a test for the clean tool.Nicolas Despres2011-05-021-0/+11
| | | | It also fix a bug about the count of removed file reported.
* move VirtualFileSystem into test.*Evan Martin2011-03-061-0/+26
|
* move test support into test.*Evan Martin2011-03-061-0/+34