diff options
Diffstat (limited to 'libopencm3/ld/tests')
-rw-r--r-- | libopencm3/ld/tests/dash.data | 1 | ||||
-rw-r--r-- | libopencm3/ld/tests/dash.result | 1 | ||||
-rw-r--r-- | libopencm3/ld/tests/longline.data | 2 | ||||
-rw-r--r-- | libopencm3/ld/tests/longline.result | 1 | ||||
-rw-r--r-- | libopencm3/ld/tests/single.data | 1 | ||||
-rw-r--r-- | libopencm3/ld/tests/single.result | 1 | ||||
-rw-r--r-- | libopencm3/ld/tests/tree1.data | 2 | ||||
-rw-r--r-- | libopencm3/ld/tests/tree1.result | 1 | ||||
-rw-r--r-- | libopencm3/ld/tests/tree5.data | 5 | ||||
-rw-r--r-- | libopencm3/ld/tests/tree5.result | 1 | ||||
-rw-r--r-- | libopencm3/ld/tests/twomatch.data | 4 | ||||
-rw-r--r-- | libopencm3/ld/tests/twomatch.result | 1 |
12 files changed, 21 insertions, 0 deletions
diff --git a/libopencm3/ld/tests/dash.data b/libopencm3/ld/tests/dash.data new file mode 100644 index 0000000..eb12e28 --- /dev/null +++ b/libopencm3/ld/tests/dash.data @@ -0,0 +1 @@ +dash END A B C D -mcpu=cortex-m0
\ No newline at end of file diff --git a/libopencm3/ld/tests/dash.result b/libopencm3/ld/tests/dash.result new file mode 100644 index 0000000..8d876a2 --- /dev/null +++ b/libopencm3/ld/tests/dash.result @@ -0,0 +1 @@ +-D_A -D_B -D_C -D_D -mcpu=cortex-m0
\ No newline at end of file diff --git a/libopencm3/ld/tests/longline.data b/libopencm3/ld/tests/longline.data new file mode 100644 index 0000000..5f71d37 --- /dev/null +++ b/libopencm3/ld/tests/longline.data @@ -0,0 +1,2 @@ +longline + A=parameter B=parameter C=parameter D=parameter E==parameter +longline END F=parameter G=parameter
\ No newline at end of file diff --git a/libopencm3/ld/tests/longline.result b/libopencm3/ld/tests/longline.result new file mode 100644 index 0000000..78a1477 --- /dev/null +++ b/libopencm3/ld/tests/longline.result @@ -0,0 +1 @@ +-D_A=parameter -D_B=parameter -D_C=parameter -D_D=parameter -D_E==parameter -D_F=parameter -D_G=parameter
\ No newline at end of file diff --git a/libopencm3/ld/tests/single.data b/libopencm3/ld/tests/single.data new file mode 100644 index 0000000..027025a --- /dev/null +++ b/libopencm3/ld/tests/single.data @@ -0,0 +1 @@ +single END A B C D
\ No newline at end of file diff --git a/libopencm3/ld/tests/single.result b/libopencm3/ld/tests/single.result new file mode 100644 index 0000000..3191ddd --- /dev/null +++ b/libopencm3/ld/tests/single.result @@ -0,0 +1 @@ +-D_A -D_B -D_C -D_D
\ No newline at end of file diff --git a/libopencm3/ld/tests/tree1.data b/libopencm3/ld/tests/tree1.data new file mode 100644 index 0000000..7867a61 --- /dev/null +++ b/libopencm3/ld/tests/tree1.data @@ -0,0 +1,2 @@ +tree1 treeparent A B C D +treeparent END E F diff --git a/libopencm3/ld/tests/tree1.result b/libopencm3/ld/tests/tree1.result new file mode 100644 index 0000000..b71bb04 --- /dev/null +++ b/libopencm3/ld/tests/tree1.result @@ -0,0 +1 @@ +-D_A -D_B -D_C -D_D -D_E -D_F
\ No newline at end of file diff --git a/libopencm3/ld/tests/tree5.data b/libopencm3/ld/tests/tree5.data new file mode 100644 index 0000000..d51a33a --- /dev/null +++ b/libopencm3/ld/tests/tree5.data @@ -0,0 +1,5 @@ +tree5 tree4 A +tree4 tree3 B +tree3 tree2 C +tree2 tree1 D +tree1 END E F diff --git a/libopencm3/ld/tests/tree5.result b/libopencm3/ld/tests/tree5.result new file mode 100644 index 0000000..b71bb04 --- /dev/null +++ b/libopencm3/ld/tests/tree5.result @@ -0,0 +1 @@ +-D_A -D_B -D_C -D_D -D_E -D_F
\ No newline at end of file diff --git a/libopencm3/ld/tests/twomatch.data b/libopencm3/ld/tests/twomatch.data new file mode 100644 index 0000000..e55df61 --- /dev/null +++ b/libopencm3/ld/tests/twomatch.data @@ -0,0 +1,4 @@ +twomatch treeparent A B C D +# the next line will be ignored because previous matches before and no + there +twomatch treeparent P Q R S +treeparent END E F diff --git a/libopencm3/ld/tests/twomatch.result b/libopencm3/ld/tests/twomatch.result new file mode 100644 index 0000000..b71bb04 --- /dev/null +++ b/libopencm3/ld/tests/twomatch.result @@ -0,0 +1 @@ +-D_A -D_B -D_C -D_D -D_E -D_F
\ No newline at end of file |