summaryrefslogtreecommitdiffstats
path: root/src/test.h
Commit message (Collapse)AuthorAgeFilesLines
* add a test for the "deps out of date" caseEvan Martin2013-04-091-0/+6
| | | | It touched the various remaining XXXes in the code, hooray.
* move test virtual time "now_" into VirtualFileSystemEvan Martin2013-04-081-2/+13
| | | | It's the only piece that cares about the current time.
* Only store command hashes in the build log.Nico Weber2012-06-151-0/+1
| | | | | | | | | | | | | | .build_log load time 350ms -> 17ms, filesize 197MB -> 1.6MB on Mac. On Windows, it's 500ms -> 20ms. Makes the build log a lot less useful for scripts, but there could be a tool for use cases that need log information. A prototype of such a tool is in https://github.com/nico/ninja/commit/1b243d311 The hash function is 64bit murmurhash2. Assuming that that different commands get the same hash only by chance, it's is very unlikely for two different commands to hash to the same value with a 64bit hash.
* Response filesunknown2012-02-091-0/+2
|
* Stop warning about chdir etc which are treated as errors on MSVC with theFrances Buontempo2012-01-161-0/+1
| | | | current settings
* migrate tempdir code to test.ccEvan Martin2012-01-061-0/+13
|
* convert all time_t to a new TimeStamp typeEvan Martin2012-01-051-1/+1
|
* Factor out State struct from ninja_jumble.cc into its header/source files.Thiago Farina2011-09-031-1/+1
| | | | | | This was a TODO in src/ninja_jumble.cc. Now this task is completed. Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Fix ninja compilation by including a missing disk_interface.h.Thiago Farina2011-08-251-0/+1
| | | | | | | When running ./ninja the compilation fails because test.h uses DiskInterface but doesn't include disk_interface.h to get the declaration. Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Return non-zero status when errors occur.Nicolas Despres2011-05-021-1/+1
| | | | | | 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/+2
| | | | It also fix a bug about the count of removed file reported.
* add doxygen-compatibile comments to most classesEvan Martin2011-04-291-6/+7
|
* Add missing CPP guards.Nicolas Despres2011-03-221-0/+5
|
* more commentsEvan Martin2011-03-061-0/+2
|
* move VirtualFileSystem into test.*Evan Martin2011-03-061-0/+23
|
* move test support into test.*Evan Martin2011-03-061-1/+4
|
* add copyrightsEvan Martin2011-02-061-0/+14
|
* remove ResetDirtyEvan Martin2011-01-081-3/+0
|
* remove bottom-up dirtyingEvan Martin2011-01-081-0/+3
|
* split out graph into its own headerEvan Martin2011-01-081-2/+3
|
* move src into subdirEvan Martin2010-12-051-0/+12