Commit a294a9a
scripts: twister: Name prefix loading
Sped up Twister via name prefix loading.
If the only thing influencing the platform selection
is the platform filter (-p), then we only load *.yaml
files that start the same way as those selected platforms.
We split the platform name to the first '/' or '@'.
Signed-off-by: Lukasz Mrugala <lukaszx.mrugala@intel.com>1 parent 698df11 commit a294a9a
File tree
2 files changed
+16
-2
lines changed- scripts
- pylib/twister/twisterlib
- tests/twister_blackbox/test_data/boards/others/dummy_board
2 files changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
420 | 432 | | |
421 | 433 | | |
422 | 434 | | |
| |||
702 | 714 | | |
703 | 715 | | |
704 | 716 | | |
705 | | - | |
706 | | - | |
707 | 717 | | |
708 | 718 | | |
709 | 719 | | |
| 720 | + | |
| 721 | + | |
710 | 722 | | |
711 | 723 | | |
712 | 724 | | |
713 | 725 | | |
| 726 | + | |
| 727 | + | |
714 | 728 | | |
715 | 729 | | |
716 | 730 | | |
| |||
0 commit comments