-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathrun.sh
More file actions
92 lines (80 loc) · 1.77 KB
/
run.sh
File metadata and controls
92 lines (80 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
. ./fpp-options.sh
abs_type()
{
run_test "$fpp_options" abs_type && \
diff_cpp AbsTypeArray
}
alias_type()
{
run_test "$fpp_options" alias_type && \
diff_cpp AliasTypeArray && \
diff -u ATAliasAc.ref.h ATAliasAc.h && \
diff -u ATAliasAc.ref.hpp ATAliasAc.hpp
}
component()
{
run_test "$fpp_options" component && \
diff_cpp C_AArray && \
diff_cpp AArray
}
enum()
{
run_test "$fpp_options" enum && \
diff_cpp E1Enum && \
diff_cpp E2Enum && \
diff_cpp Enum1Array && \
diff_cpp Enum2Array
}
header_path()
{
run_test "$fpp_options" "include/T.fpp header_path" header_path && \
diff_cpp HeaderPathArray
}
large_size()
{
run_test "$fpp_options" large_size && \
diff_cpp LargeSizeArray
}
primitive()
{
run_test "$fpp_options" primitive && \
diff_cpp PrimitiveBoolArray && \
diff_cpp PrimitiveU8Array && \
diff_cpp PrimitiveU16Array && \
diff_cpp PrimitiveI32Array && \
diff_cpp PrimitiveI64Array && \
diff_cpp PrimitiveF32fArray && \
diff_cpp PrimitiveF32eArray && \
diff_cpp PrimitiveF64Array && \
diff_cpp PrimitiveArrayArray
}
single_element()
{
run_test "$fpp_options" single_element && \
diff_cpp SingleElementArray
}
state_machine()
{
run_test "$fpp_options" state_machine && \
diff_cpp SM_AArray
}
string()
{
run_test "$fpp_options" string && \
diff_cpp String1Array && \
diff_cpp String2Array && \
diff_cpp StringArrayArray
}
struct()
{
run_test "$fpp_options" struct && \
diff_cpp Struct1Array && \
diff_cpp Struct2Array && \
diff_cpp Struct3Array && \
diff_cpp Struct4Array && \
diff_cpp S1Serializable && \
diff_cpp S2Serializable && \
diff_cpp S3Serializable && \
diff_cpp SWrapperSerializable && \
diff_cpp SDefaultSerializable
}