refactor code to prepare for multiple files

verbose compiler output is now behind --verbose flag
This commit is contained in:
Andrew Kelley
2015-11-30 19:58:53 -07:00
parent ef482ece7c
commit 55b8472374
24 changed files with 474 additions and 287 deletions

View File

@@ -47,6 +47,7 @@ static void add_simple_case(const char *case_name, const char *source, const cha
test_case->compiler_args.append(tmp_exe_path);
test_case->compiler_args.append("--release");
test_case->compiler_args.append("--strip");
test_case->compiler_args.append("--verbose");
test_cases.append(test_case);
}
@@ -70,6 +71,7 @@ static void add_compile_fail_case(const char *case_name, const char *source, int
test_case->compiler_args.append(tmp_exe_path);
test_case->compiler_args.append("--release");
test_case->compiler_args.append("--strip");
test_case->compiler_args.append("--verbose");
test_cases.append(test_case);