History

Spelling fixes

Comments only, no change to functionality

Larry Doolittle committed 9 years ago

Commit 1b6806e1 parent 44d4da619 files · +28 −28Browse files

Showing the changes to tests/tests2 (4 of 19 files). Show all

Unified · Split

4 files
  1. tests/tests2/87_dead_code.c +1 −1
  2. tests/tests2/90_struct-init.c +2 −2
  3. tests/tests2/99_fastcall.c +3 −3
  4. tests/tests2/Makefile +1 −1
tests/tests2/87_dead_code.c+1−1
@@ -9,7 +9,7 @@ static void kb_wait_1(void) · 8 unmodified lines
9 /* Here the else arm is a statement expression that's supposed9 /* Here the else arm is a statement expression that's supposed
10 to be suppressed. The label inside the while would unsuppress10 to be suppressed. The label inside the while would unsuppress
11 code generation again if not handled correctly. And that11 code generation again if not handled correctly. And that
12 would wreak havok to the cond-expression because there's no12 would wreak havoc to the cond-expression because there's no
13 jump-around emitted, the whole statement expression really13 jump-around emitted, the whole statement expression really
14 needs to not generate code (perhaps except useless forward jumps). */14 needs to not generate code (perhaps except useless forward jumps). */
15 (1 ? 15 (1 ?
tests/tests2/90_struct-init.c+2−2
@@ -60,7 +60,7 @@ struct U gu4 = { 3, {5,6,7,}, 5, { "bla", {44}} }; · 59 unmodified lines
60struct S gs3 = { (1), {(2)}, {(((3))), {4}}};60struct S gs3 = { (1), {(2)}, {(((3))), {4}}};
61/* Superfluous braces, and leaving out braces for V.t, plus cast */61/* Superfluous braces, and leaving out braces for V.t, plus cast */
62struct V gv = {{{3},4,{5,6}}, "haha", (u8)45, 46};62struct V gv = {{{3},4,{5,6}}, "haha", (u8)45, 46};
63/* Compund literal */63/* Compound literal */
64struct V gv2 = {(struct S){7,8,{9,10}}, {"hihi", 47}, 48};64struct V gv2 = {(struct S){7,8,{9,10}}, {"hihi", 47}, 48};
65/* Parens around compound literal */65/* Parens around compound literal */
66struct V gv3 = {((struct S){7,8,{9,10}}), {"hoho", 49}, 50};66struct V gv3 = {((struct S){7,8,{9,10}}), {"hoho", 49}, 50};
@@ -157,7 +157,7 @@ void foo (struct W *w, struct pkthdr *phdr_) · 90 unmodified lines
157 struct S ls3 = { (1), (2), {(((3))), 4}};157 struct S ls3 = { (1), (2), {(((3))), 4}};
158 /* Superfluous braces, and leaving out braces for V.t, plus cast */158 /* Superfluous braces, and leaving out braces for V.t, plus cast */
159 struct V lv = {{3,4,{5,6}}, "haha", (u8)45, 46};159 struct V lv = {{3,4,{5,6}}, "haha", (u8)45, 46};
160 /* Compund literal */160 /* Compound literal */
161 struct V lv2 = {(struct S)w->t.s, {"hihi", 47}, 48};161 struct V lv2 = {(struct S)w->t.s, {"hihi", 47}, 48};
162 /* Parens around compound literal */162 /* Parens around compound literal */
163 struct V lv3 = {((struct S){7,8,{9,10}}), ((const struct W *)w)->t.t, 50};163 struct V lv3 = {((struct S){7,8,{9,10}}), ((const struct W *)w)->t.t, 50};
tests/tests2/99_fastcall.c+3−3
@@ -89,10 +89,10 @@ struct trapframe { · 88 unmodified lines
89/////////////////////////////////////////////////////////////////////////89/////////////////////////////////////////////////////////////////////////
90////////// SAFECALL FRAMEWORK90////////// SAFECALL FRAMEWORK
91/////////////////////////////////////////////////////////////////////////91/////////////////////////////////////////////////////////////////////////
92// this framwork will convert any calling convention to cdecl92// this framework will convert any calling convention to cdecl
93// usage: first set call target with 'SET_SAFECALL_TARGET(x)'93// usage: first set call target with 'SET_SAFECALL_TARGET(x)'
94// then cast 'SAFECALL' to target funtion pointer type and invoke it94// then cast 'SAFECALL' to target function pointer type and invoke it
95// after calling, 'ESPDIFF' is the differance of old and new esp95// after calling, 'ESPDIFF' is the difference of old and new esp
96 96
97void *SYMBOL(sc_call_target);97void *SYMBOL(sc_call_target);
98unsigned SYMBOL(sc_retn_addr);98unsigned SYMBOL(sc_retn_addr);
tests/tests2/Makefile+1−1
@@ -27,7 +27,7 @@ ifeq (-$(findstring gcc,$(CC))-,--) · 26 unmodified lines
27 SKIP += $(patsubst %.expect,%.test,$(GEN-ALWAYS))27 SKIP += $(patsubst %.expect,%.test,$(GEN-ALWAYS))
28endif28endif
29ifeq (-$(CONFIG_WIN32)-$(CONFIG_i386)$(CONFIG_arm)-,--yes-)29ifeq (-$(CONFIG_WIN32)-$(CONFIG_i386)$(CONFIG_arm)-,--yes-)
30 SKIP += 95_bitfields%.test # type_align is differnt on 32bit-non-windows30 SKIP += 95_bitfields%.test # type_align is different on 32bit-non-windows
31endif31endif
32 32
33# Some tests might need arguments33# Some tests might need arguments

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t