summaryrefslogtreecommitdiffstats
path: root/test/run_boot_test.tcl
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-05-25 18:47:54 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-25 18:49:14 +1000
commit8d18e38a7c61e01b9b6ad5a70bf48697b70aa0ec (patch)
tree3b202f6c53627e4671601cbba5dcf545950934ff /test/run_boot_test.tcl
parent35c65cf4e97c76fae58ba3f997f9667c10c3871d (diff)
downloadtalos-skiboot-8d18e38a7c61e01b9b6ad5a70bf48697b70aa0ec.tar.gz
talos-skiboot-8d18e38a7c61e01b9b6ad5a70bf48697b70aa0ec.zip
Add boot-coverage-report target
This target will run the (two) current boot tests and produce lcov coverage of skiboot from running them in Mambo. Everything is pretty hard coded at this stage and should most certainly be improved upon, especially if we want input from real hardware or to have more boot tests. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'test/run_boot_test.tcl')
-rw-r--r--test/run_boot_test.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/run_boot_test.tcl b/test/run_boot_test.tcl
index 81f2852b..0f7fa84b 100644
--- a/test/run_boot_test.tcl
+++ b/test/run_boot_test.tcl
@@ -11,6 +11,6 @@ proc console_trigger {response args} {
mysim trigger set console "Welcome to Petitboot" { console_trigger "x" }
mysim trigger set console "# " { console_trigger "halt\n" }
-
mysim go
-exit \ No newline at end of file
+mysim memory fwrite 0x30000000 0x300000 skiboot-boot_test.dump
+exit
OpenPOWER on IntegriCloud