Skip to content

Commit c0d0bd0

Browse files
committed
test data update
Signed-off-by: Jens Reinecke <[email protected]>
1 parent 63d7948 commit c0d0bd0

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

src/cbuild-run/__snapshots__/cbuild-run-reader.test.ts.snap

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ exports[`CbuildRunReader Parser successfully parses a *.cbuild-run.yml file 1`]
88
"blocks": [
99
{
1010
"execute": "Write32(0x20000000, 0xA5A5A5A5);
11+
",
12+
},
13+
{
14+
"blocks": [
15+
{
16+
"execute": "Read32(0x20000004);
17+
",
18+
},
19+
],
20+
"if": "condition == true",
21+
},
22+
{
23+
"execute": "Write32(0x20000008, 0x5);
1124
",
1225
},
1326
],

test-data/multi-core.cbuild-run.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ cbuild-run:
7676
blocks:
7777
- execute: |
7878
Write32(0x20000000, 0xA5A5A5A5);
79+
- if: condition == true
80+
blocks:
81+
- execute: |
82+
Read32(0x20000004);
83+
- execute: |
84+
Write32(0x20000008, 0x5);
7985
pname: Core0
8086
- name: DebugDeviceUnlock
8187
blocks:

0 commit comments

Comments
 (0)