1 USING: accessors bootstrap.image fry grouping io.files io.pathnames kernel
2 sequences system tools.deploy.backend tools.image-analyzer tools.test ;
3 IN: tools.image-analyzer.tests
5 : ?make-image ( arch -- )
6 dup boot-image-name resource-path exists? [ drop ] [ make-image ] if ;
8 : loadable-images ( -- images )
9 images cpu name>> '[ _ tail? ] filter ;
12 loadable-images [ [ ?make-image ] each ] [
14 boot-image-name resource-path load-image 2drop code-size>>