]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
test: Fix failing dash_E_should_be_unsupported test
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 30 Jul 2010 19:50:05 +0000 (21:50 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 1 Aug 2010 15:20:15 +0000 (17:20 +0200)
test/test_argument_processing.c

index a5efe13f5d3d18e87cac3b41d25cb0bc88c21aa3..9e76ae86fecfb6c4beedafae832132f3ac77765c 100644 (file)
@@ -31,6 +31,7 @@ TEST(dash_E_should_be_unsupported)
        struct args *orig = args_init_from_string("cc -c foo.c -E");
        struct args *preprocessed, *compiler;
 
+       create_file("foo.c", "");
        CHECK(!cc_process_args(orig, &preprocessed, &compiler));
        CHECK_UNS_EQ(1, stats_get_pending(STATS_UNSUPPORTED));