ret = link(source, dest);
} else {
ret = copy_file(
- source, dest, conf->compression ? conf->compression_level : 0);
+ source, dest, conf->compression ? conf->compression_level : 0);
}
if (ret != 0) {
cc_log("Failed to %s %s to %s: %s",
/*
- * Copyright (C) 2010-2013 Joel Rosdahl
+ * Copyright (C) 2010-2015 Joel Rosdahl
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
orig = args_init_from_string(arg_string);
CHECK(cc_process_args(orig, &act_cpp, &act_cc));
- CHECK(str_startswith(act_cpp->argv[1], "--sysroot=./foo"));
+ CHECK_STR_EQ(act_cpp->argv[1], "--sysroot=./foo");
args_free(orig);
args_free(act_cpp);
args_free(orig);
}
-TEST(fprofile_flag_with_nonexisting_dir_not_be_rewritten)
+TEST(fprofile_flag_with_nonexisting_dir_should_not_be_rewritten)
{
struct args *orig = args_init_from_string(
"gcc -c -fprofile-generate=some/dir foo.c");