File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ before_install:
1313
1414script :
1515 - make
16- - bash tests/run.sh
16+ - make test
1717
1818before_deploy :
1919 - git config --local user.name "scopeinfinity"
Original file line number Diff line number Diff line change @@ -63,9 +63,12 @@ SOURCE_SNAPSHOT="\"$$(git rev-parse --short HEAD)$$(git diff --quiet || echo '_u
6363# General Assumptions
6464# # Integer is 4 bytes
6565
66- rebuild : clean all
66+ rebuild : clean all_artifacts
6767
68- all : images binaries
68+ test : $(image_vmdk ) $(wildcard tests/** /* )
69+ bash tests/run.sh
70+
71+ all_artifacts : images binaries
6972
7073images : $(image_vmdk )
7174
Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ bash before_install.sh
3434
3535#### Development
3636
37+ ##### Tests
38+
39+ At this moment tests works by injecting predefined ASM in the source code which halts
40+ the execution at the point of interest. After that tests can make use of QEMU monitor
41+ to verify the current state with expected state.
42+
43+ - `make test`
44+
3745##### Debug
3846
3947Execute QEMU in debug mode and setup GDB server.
You can’t perform that action at this time.
0 commit comments