aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-05-08 15:02:42 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-05-08 15:02:42 -0400
commit69cb7232e19c4f85aaeeb03b46d0f1ce5bf7c17e (patch)
tree97c88b96b6db5974feed1e419dbad82d0bf28e62 /tests
parent3cc1ffc93e1927c3e82510244e3376f63b6f0060 (diff)
downloadspmc-69cb7232e19c4f85aaeeb03b46d0f1ce5bf7c17e.tar.gz
Fix missing end quote
Diffstat (limited to 'tests')
-rw-r--r--tests/framework.h4
1 files changed, 2 insertions, 2 deletions
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);