-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* More minor test-case updates This pull-request adds a new configuration option "pause-on-newlines" which allows automatic delays on newlines, which helps for some of our test cases. For example `mbasic2.in` contains: ``` 30 NEXT I LIST RUN ``` If we let the `LIST` run it will poll for keyboard input to see if it should react to Ctrl-C, or similar, and that will swallow pending input. So we have to pause/pretend there is no input until that completes. But adding "`#LIST\n#RUN`" or similar feels fragile and confusing. Pausing after every newline will make things simpler. * Added test of easter-egg responses * Removed some pauses and needless lines in our input text * Restored test-coverage back to 100% of drv_file.go * Remove Ctrl-M in favour of \r, and remove the #==sleep facility, now we no longer use it. * More CCP-test added * Updated to add new CCP test
- Loading branch information
Showing
17 changed files
with
138 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# | ||
# This is a more substantial CCP-test | ||
# | ||
-- | ||
A:!input | ||
A:!ctrlc | ||
B: | ||
A:!output | ||
A:!output null | ||
A: | ||
!output adm-3a | ||
!hostcmd | ||
!ccp ccp | ||
!ccp ccpz | ||
Exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Input driver is set to | ||
The Ctrl-C count is currently set to | ||
Console driver is set to 'adm-3a' | ||
Input driver changed from adm-3a to null. | ||
Input driver changed from null to adm-3a. | ||
The prefix for executing commands on the host is unset. | ||
Running commands on the host is disabled. | ||
CCP changed to ccp | ||
CCP changed to ccpz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# This test-case launches the lighthouse of doom game, | ||
# and then plays it to completion. | ||
# | ||
# It also tests that the game starts, which was a problem in the | ||
# past because our CP/M BIOS was located within a region of | ||
# RAM the game used. | ||
# | ||
-- | ||
G: | ||
LIHOUSE | ||
f | ||
DOWN | ||
CALL ME | ||
CALL STEVE | ||
CALL POLICE | ||
CALL RUBBLE | ||
CALL SKYE | ||
CALL RYDER | ||
CALL GHOSTBUSTERS | ||
QUIT | ||
N | ||
|
||
EXIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Debbie Harry says 'hello' | ||
[email protected] | ||
lack of a functioning police force. | ||
Who you gonna call? | ||
No pup is too small, no job is too big | ||
enjoying a nap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.