Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Added test coverage for pop instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
mattixtech committed Aug 10, 2018
1 parent 2868604 commit 0fd64af
Show file tree
Hide file tree
Showing 10 changed files with 611 additions and 498 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ run at once, there is currently not a way to run them individually.
The blackbox test script executes the programs in the test_programs/ directory
and verifies their output against known expected output.
+ Make sure the main executable has been built (see above)
+ Run the 'blackbox_test.py' python script via `python blackbox_test.py` or
`./blackbox_test.py`
+ Run the 'test_programs.py' python script via `python test_programs.py` or
`./test_programs.py`
+ This won't work on Windows currently
2 changes: 2 additions & 0 deletions src/instructions/instruction_exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ int exec_instr(struct instruction ic)
instr_exit();

return 1;
case INSTR_NOOP:
return 0;
case INSTR_LOAD:
instr_load(ic);
break;
Expand Down
Loading

0 comments on commit 0fd64af

Please sign in to comment.