From 69cb7232e19c4f85aaeeb03b46d0f1ce5bf7c17e Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 8 May 2020 15:02:42 -0400 Subject: Fix missing end quote --- tests/framework.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/framework.h b/tests/framework.h index 4a7a1a3..aefdef2 100644 --- a/tests/framework.h +++ b/tests/framework.h @@ -181,7 +181,7 @@ char *mock_image(int img_type, const char *img_name, char **_extra_compiler_args img_filename, extra_compiler_args, code_filename); #elif OS_WINDOWS // TODO: UNTESTED #if defined (__MINGW32__) - sprintf(cmd, "gcc -shared -o %s -Wl,—out-implib,%s.a -Wl,—export-all-symbols -Wl,—enable-auto-image-base '%s', + sprintf(cmd, "gcc -shared -o %s -Wl,—out-implib,%s.a -Wl,—export-all-symbols -Wl,—enable-auto-image-base '%s'", img_filename, img_name, extra_compiler_args, code_filename); #elif defined (__MSC_VER) sprintf(cmd, "CL /LD %s", img_filename); @@ -198,7 +198,7 @@ char *mock_image(int img_type, const char *img_name, char **_extra_compiler_args img_filename, extra_compiler_args, code_filename); #elif OS_WINDOWS // TODO: UNTESTED #if defined (__MINGW32__) - sprintf(cmd, "gcc -o %s %s '%s', + sprintf(cmd, "gcc -o %s %s '%s'", img_filename, extra_compiler_args, code_filename); #elif defined (__MSC_VER) sprintf(cmd, "CL /Fe\"%s\" %s", img_name, img_filename); -- cgit