Commit 9ee3590
dbs-boot: fdt: add a switch of creating dtb files
Add a switch of creating dtb files for fdt unit tests. It will read
environment variable "FDT_CREATE_DTB" to decide whether to create new
dtb file for this "cargo test".
Usage:
```shell
$ FDT_CREATE_DTB=1 cargo test
```
Fixes: openanolis#276
Opensource: y
Signed-off-by: xuejun-xj <[email protected]>1 parent 04fa7f4 commit 9ee3590
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
| 394 | + | |
394 | 395 | | |
395 | 396 | | |
396 | 397 | | |
| |||
454 | 455 | | |
455 | 456 | | |
456 | 457 | | |
457 | | - | |
458 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
459 | 465 | | |
460 | 466 | | |
461 | 467 | | |
| |||
531 | 537 | | |
532 | 538 | | |
533 | 539 | | |
534 | | - | |
| 540 | + | |
535 | 541 | | |
536 | 542 | | |
537 | 543 | | |
| |||
568 | 574 | | |
569 | 575 | | |
570 | 576 | | |
571 | | - | |
| 577 | + | |
572 | 578 | | |
573 | 579 | | |
574 | 580 | | |
| |||
605 | 611 | | |
606 | 612 | | |
607 | 613 | | |
608 | | - | |
| 614 | + | |
609 | 615 | | |
610 | 616 | | |
611 | 617 | | |
| |||
0 commit comments