diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2018-09-26 22:34:50 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2018-09-26 22:34:50 +0200 |
commit | f7712082106bef085515f86ae47e7dbbd2a48b57 (patch) | |
tree | 5a726e74b5028d7d633300e3ae455561885b2970 /unittest/test_compopt.c | |
parent | 2d57113eaa407bb92de51a3eb41cdd8cca820e3a (diff) | |
parent | 554195a802cd4bdcc8d7698b0bbaccbf84f33939 (diff) | |
download | ccache-dev/memcached.tar.gz |
Merge branch 'master' into dev/memcacheddev/memcached
* master: (27 commits)
Update NEWS
Improve documentation of file_stat_matches_ctime
Add option to disable ctime check for manifest
test: Fix various Solaris shell issues
Prepare for v3.4.3
Update NEWS
Upgrade zlib to 1.2.11
Update NEWS
Bail out on compiler option -save-temps=obj
Fix minor memory leak introduced in dde3543c
Fix “clang analyze” false positive
Update NEWS
process_preprocessed_file: Move gnu_getcwd() out of tight loop
Make sure to install gperf for analyze
Update NEWS
Add handling of separate -target parameter
Update NEWS
Add a Vagrantfile for testing on FreeBSD
Compiler "cc" might still be the same as "clang"
Add FreeBSD compatibility to test suites
...
Diffstat (limited to 'unittest/test_compopt.c')
-rw-r--r-- | unittest/test_compopt.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/unittest/test_compopt.c b/unittest/test_compopt.c index 2efda502..fb50f357 100644 --- a/unittest/test_compopt.c +++ b/unittest/test_compopt.c @@ -55,6 +55,21 @@ TEST(dash_MM_too_hard) CHECK(compopt_too_hard("-MM")); } +TEST(dash_save_temps_too_hard) +{ + CHECK(compopt_too_hard("-save-temps")); +} + +TEST(dash_save_temps_cwd_too_hard) +{ + CHECK(compopt_too_hard("-save-temps=cwd")); +} + +TEST(dash_save_temps_obj_too_hard) +{ + CHECK(compopt_too_hard("-save-temps=obj")); +} + TEST(dash_MD_not_too_hard) { CHECK(!compopt_too_hard("-MD")); |