Joel Rosdahl
|
cd9eadfef5
|
read_file(): Allocate memory only if the file exists
|
2010-08-25 22:10:27 +02:00 |
|
Joel Rosdahl
|
928ad0e8f6
|
test: Fix bad test for compiler pch support
|
2010-08-23 19:12:27 +02:00 |
|
Joel Rosdahl
|
3f780612d9
|
test: Check that compiler is actually able to use precompiled headers
|
2010-08-23 08:00:13 +02:00 |
|
Joel Rosdahl
|
9a5ce3c79e
|
test: Print note when not running pch tests
|
2010-08-22 18:06:52 +02:00 |
|
Joel Rosdahl
|
cdc3c73642
|
Also check if the -fpch-preprocess option is supported for pch tests
|
2010-08-22 17:26:04 +02:00 |
|
Joel Rosdahl
|
7668c86a7e
|
Support Solaris stupid /bin/sh in pch test
|
2010-08-22 17:25:17 +02:00 |
|
Joel Rosdahl
|
0812885d9d
|
Fix bug in args_strip()
|
2010-08-22 12:31:04 +02:00 |
|
Joel Rosdahl
|
4a425001c9
|
Add support for caching precompiled headers
|
2010-08-22 12:23:10 +02:00 |
|
Joel Rosdahl
|
3d2a41628d
|
Reorder languages array with more common extensions first
|
2010-08-21 18:47:23 +02:00 |
|
Joel Rosdahl
|
4f6023b3e9
|
Add .cp and .CP as known C++ suffixes
|
2010-08-21 18:46:30 +02:00 |
|
Joel Rosdahl
|
d8927d46cb
|
Add support for using precompiled headers if -fpch-preprocess is used
|
2010-08-21 16:46:51 +02:00 |
|
Joel Rosdahl
|
3de51996ad
|
Log when a manifest lookup fails due to a missing file
|
2010-08-21 16:42:47 +02:00 |
|
Joel Rosdahl
|
456e545d43
|
Correct data type for return value from read()
|
2010-08-18 22:49:53 +02:00 |
|
Joel Rosdahl
|
7784733a0d
|
Add some tests of MD4 hash functions
|
2010-08-18 21:42:06 +02:00 |
|
Joel Rosdahl
|
e0b2f33853
|
Make hash_result() idempotent
|
2010-08-18 21:41:45 +02:00 |
|
Joel Rosdahl
|
125de7177d
|
test: Make sure CCACHE_NODIRECT is set before running a test suite
|
2010-08-16 22:03:01 +02:00 |
|
Joel Rosdahl
|
6138b104cb
|
Remove unused declaration
|
2010-08-14 23:27:21 +02:00 |
|
Joel Rosdahl
|
b3550e0a15
|
test: Avoid using "echo -n" for portability reasons
|
2010-08-14 21:56:57 +02:00 |
|
Joel Rosdahl
|
1ac5db597e
|
test: Avoid using "echo -n" for portability reasons
|
2010-08-14 21:41:46 +02:00 |
|
Joel Rosdahl
|
e04a9e40bb
|
Log in parent process in hash_command_output() to get correct PID in log
|
2010-08-14 21:25:15 +02:00 |
|
Joel Rosdahl
|
ff2089c914
|
Use reentrant strtok_r() instead of strtok()
|
2010-08-14 21:19:32 +02:00 |
|
Joel Rosdahl
|
074e8ade4e
|
Add test suite for struct args
|
2010-08-14 21:14:08 +02:00 |
|
Joel Rosdahl
|
8034219222
|
Don't use /bin/sh when executing compiler check command
Using /bin/sh gives too much overhead for the benefit of being able to
specify more complex commands directly.
|
2010-08-14 21:14:08 +02:00 |
|
Joel Rosdahl
|
e0f5d3aa58
|
Make args_init_from_string() split on more whitespace characters
|
2010-08-14 21:14:08 +02:00 |
|
Joel Rosdahl
|
aaf5cbd18a
|
Add hash_command_output() and hash_multicommand_output()
|
2010-08-14 21:14:08 +02:00 |
|
Joel Rosdahl
|
76a2b0f0c5
|
Generalize cc_log_executed_command
|
2010-08-14 21:14:07 +02:00 |
|
Joel Rosdahl
|
54fd1b1765
|
Put args declarations higher up in ccache.h
|
2010-08-14 21:14:07 +02:00 |
|
Joel Rosdahl
|
df0b495cfc
|
testfw: Let the compiler catch bad test case names
|
2010-08-14 21:14:07 +02:00 |
|
Joel Rosdahl
|
bf782199d2
|
testfw: Simplify accounting and printing of failed test counters
|
2010-08-14 21:14:07 +02:00 |
|
Joel Rosdahl
|
861184b725
|
Add args_set() function
|
2010-08-14 21:14:07 +02:00 |
|
Joel Rosdahl
|
65c847fa22
|
Add hash_equal() function
|
2010-08-14 21:14:07 +02:00 |
|
Joel Rosdahl
|
f86dbeaf3c
|
Put functions in hash.c in a more natural order
|
2010-08-14 21:14:07 +02:00 |
|
Joel Rosdahl
|
9ba6a5b247
|
perf.py: Enable more accurate measurement of cache hit performance
|
2010-08-14 21:14:04 +02:00 |
|
Joel Rosdahl
|
18cc772aa6
|
Add support for running a custom command to identify the compiler
|
2010-08-11 08:17:42 +02:00 |
|
Joel Rosdahl
|
0e828cb8b9
|
test: Add tests for CCACHE_COMPILERCHECK
|
2010-08-08 22:31:26 +02:00 |
|
Joel Rosdahl
|
9702c57ab2
|
doc: Add missing newline
|
2010-08-08 22:31:26 +02:00 |
|
Joel Rosdahl
|
bb956e3c50
|
doc: Improve CCACHE_COMPILERCHECK description
|
2010-08-08 22:31:22 +02:00 |
|
Joel Rosdahl
|
20f4b8f908
|
test: List all suites in all_suites and exclude unsupported suites on win32
|
2010-08-08 19:47:25 +02:00 |
|
Joel Rosdahl
|
100db488ef
|
doc: Clarify installation methods
|
2010-08-06 10:33:53 +02:00 |
|
Joel Rosdahl
|
d122bb1cfb
|
Update HACKING.txt with commit message width hint
|
2010-08-05 10:56:01 +02:00 |
|
Joel Rosdahl
|
4041395788
|
Don't remove version.c when cleaning a release build
|
2010-08-05 10:54:36 +02:00 |
|
Joel Rosdahl
|
745bb97e78
|
Spell Ville Skyttä's name correctly
|
2010-08-04 19:48:43 +02:00 |
|
Joel Rosdahl
|
37fc4be75e
|
Update license for mdfour.c to GPLv3+
|
2010-08-04 19:48:39 +02:00 |
|
Joel Rosdahl
|
16b25cac09
|
Make reading and writing of statistics counters forward-compatible
Previously, ccache threw away counters values it didn't know about, i.e., new
counters coming from later ccache versions.
|
2010-08-04 11:03:40 +02:00 |
|
Joel Rosdahl
|
01fa3dfbf4
|
Explicitly set values of enum stats since they are important
|
2010-08-04 10:39:02 +02:00 |
|
Joel Rosdahl
|
52c4606d2c
|
Move read_file from test/util.c to util.c
|
2010-08-03 23:09:16 +02:00 |
|
Joel Rosdahl
|
8c071cf6e0
|
Isolate knowledge of the counters data structure to stats.c
|
2010-08-03 17:27:41 +02:00 |
|
Joel Rosdahl
|
42b3fd0d46
|
Fold stats_read_fd() into stats_read()
|
2010-08-03 17:16:38 +02:00 |
|
Joel Rosdahl
|
8544ce8c55
|
Use stats_read() instead of stats_read_fd()
|
2010-08-03 17:14:01 +02:00 |
|
Joel Rosdahl
|
c122428ba4
|
testfw: Format code to use a more consistent coding style
|
2010-08-03 00:17:57 +02:00 |
|