Created
June 16, 2019 02:52
-
-
Save sommersoft/45a309cc2edee153ef1e21ae4cff2af0 to your computer and use it in GitHub Desktop.
Verifier #5 Is Alive!
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
========================= RosiePi ========================== | |
Initiating rosiepi... | |
------------------------------------------------------------ | |
- Date/Time: 15-Jun-2019,21:27:17 | |
- Test commit: 6d388a34eb909e27acd508dc001ae1fe94a530de | |
- Test board: metro_m4_express | |
============================================================ | |
Connecting to: metro_m4_express | |
------------------------------------------------------------ | |
Connected! | |
Board info: | |
- Serial Number: 87AA108115E47535020202D4736380FF | |
- Disk Drive: /media/sommersoft/CIRCUITPY | |
============================================================ | |
Preparing Firmware... | |
------------------------------------------------------------ | |
Fetching 6d388a34eb909e27acd508dc001ae1fe94a530de... | |
Checking out 6d388a34eb909e27acd508dc001ae1fe94a530de... | |
Updating submodules... | |
Building firmware... | |
- 234956 bytes free in flash out of 499712 bytes ( 488.0 kb ). | |
- 178744 bytes free in ram for stack out of 196608 bytes ( 192.0 kb ). | |
- Wrote 529920 bytes to /home/sommersoft/Dev/rosie_pi/RosiePi/rosiepi/.fw_builds/6d388/metro_m4_express/firmware.uf2. | |
============================================================ | |
Updating Firmware on: metro_m4_express | |
Resetting into bootloader mode... | |
In bootloader mode. Current bootloader: UF2 Bootloader v2.0.0-adafruit.5 SFHWRO | |
Uploading firmware... | |
Waiting for board to reload... | |
Firmware upload successful! | |
============================================================ | |
Gathering tests to run... | |
These following tests will be run: | |
- board_test.py, rosie_test.py | |
============================================================ | |
Starting test: board_test.py | |
running line: (1) import board | |
running line: (3) #$ output=microcontroller.pin.D0 | |
running line: (4) print(board.D0) | |
- Testing for output of: microcontroller.pin.D0 | |
- Passed! | |
b'\x01Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.\r\n\n | |
Press any key to enter the REPL. Use CTRL-D to reload.\r\nAdafruit CircuitPython 6d388a34e on | |
2019-06-15; Adafruit Metro M4 Express with samd51j19\r\n>\x01\x04>> \r\nraw REPL; CTRL-B to exit | |
\r\n>OK\r\nsoft reboot\r\n\nAuto-reload is on. Simply save files over USB to run them or enter | |
REPL to disable.\r\n\n\n\nPress any key to enter the REPL. Use CTRL-D to reload.\x01raw REPL; | |
CTRL-B to exit\r\n>import board\n\x04OK\x04\x04>\x01raw REPL; CTRL-B to exit\r\n>#$ output= | |
microcontroller.pin.D0\n\x04OK\x04\x04print(board.D0)\n\x04>OKmicrocontroller.pin.D0\r\n\x04\x04' | |
------------------------------------------------------------ | |
Starting test: rosie_test.py | |
running line: (1) import board | |
running line: (3) #$ output=Hello World | |
running line: (4) print("Hello World") | |
- Testing for output of: Hello World | |
- Passed! | |
running line: (6) #$ input=16 | |
running line: (7) result = input() | |
- Sending input: 16 | |
running line: (9) #$ output=16 | |
running line: (10) print(result) | |
- Testing for output of: 16 | |
- Passed! | |
running line: (12) #$ verify=test_stub.foo | |
running line: (13) print("testing verifier") | |
- Verifying with: test_stub.foo | |
D pins: ['D0', 'D1', 'D10', 'D11', 'D12', 'D13', 'D2', 'D3', 'D4', 'D5', 'D6', 'D7', 'D8', 'D9'] | |
pin: D0 - direction: b'digitalio.Direction.INPUT\r\n' | |
pin: D1 - direction: b'digitalio.Direction.INPUT\r\n' | |
pin: D10 - direction: b'digitalio.Direction.INPUT\r\n' | |
pin: D11 - direction: b'digitalio.Direction.INPUT\r\n' | |
pin: D12 - direction: b'digitalio.Direction.INPUT\r\n' | |
pin: D13 - direction: b'digitalio.Direction.INPUT\r\n' | |
pin: D2 - direction: b'digitalio.Direction.INPUT\r\n' | |
pin: D3 - direction: b'digitalio.Direction.INPUT\r\n' | |
pin: D4 - direction: b'digitalio.Direction.INPUT\r\n' | |
pin: D5 - direction: b'digitalio.Direction.INPUT\r\n' | |
pin: D6 - direction: b'digitalio.Direction.INPUT\r\n' | |
pin: D7 - direction: b'digitalio.Direction.INPUT\r\n' | |
pin: D8 - direction: b'digitalio.Direction.INPUT\r\n' | |
pin: D9 - direction: b'digitalio.Direction.INPUT\r\n' | |
- Passed! | |
b'\r\x03\x03\r\x02\r\n\r\nAdafruit CircuitPython 6d388a34e on 2019-06-15; Adafruit Metro M4 | |
Express with samd51j19\r\n>>> \x01\r\nraw REPL; CTRL-B to exit\r\n>\x01\x04raw REPL; CTRL-B | |
to exit\r\n>OK\r\nsoft reboot\r\n\nAuto-reload is on. Simply save files over USB to run them | |
or enter REPL to disable.\r\n\n\n\nPress any key to enter the REPL. Use CTRL-D to reload.\x01 | |
raw REPL; CTRL-B to exit\r\n>import board\n\x04OK\x04\x04>\x01raw REPL; CTRL-B to exit\r\n>#$ | |
output=Hello World\n\x04OK\x04\x04print("Hello World")\n\x04>OKHello World\r\n\x04\x04>\x01raw | |
REPL; CTRL-B to exit\r\n>#$ input=16\n\x04OK\x04\x04result = input()\n\x04>OK16\r\n16\r\n\x04 | |
\x04>\x01raw REPL; CTRL-B to exit\r\n>#$ output=16\n\x04OK\x04\x04print(result)\n\x04>OK16\r\n | |
\x04\x04>\x01raw REPL; CTRL-B to exit\r\n>#$ verify=test_stub.foo\n\x04OK\x04\x04print("testing | |
verifier")\n\x04>OKtesting verifier\r\n\x04\x04print(dir(board))\x04>OK[\'__class__\', \'A0\', | |
\'A1\', \'A2\', \'A3\', \'A4\', \'A5\', \'D0\', \'D1\', \'D10\', \'D11\', \'D12\', \'D13\', | |
\'D2\', \'D3\', \'D4\', \'D5\', \'D6\', \'D7\', \'D8\', \'D9\', \'I2C\', \'LED_RX\', \'LED_TX\', | |
\'MISO\', \'MOSI\', \'NEOPIXEL\', \'RX\', \'SCK\', \'SCL\', \'SDA\', \'SPI\', \'TX\', \'UART\'] | |
\r\n\x04\x04import digitalio\x04>OKD0_pin = digitalio.DigitalInOut(board.D0)\x04\x04\x04>OKprint | |
(D0_pin.direction)\x04\x04\x04>OKdigitalio.Direction.INPUT\r\n\x04\x04D1_pin = digitalio. | |
DigitalInOut(board.D1)\x04>OKprint(D1_pin.direction)\x04\x04\x04>OKdigitalio.Direction.INPUT\r\n | |
\x04\x04D10_pin = digitalio.DigitalInOut(board.D10)\x04>OKprint(D10_pin.direction)\x04\x04\x04 | |
>OKdigitalio.Direction.INPUT\r\n\x04\x04D11_pin = digitalio.DigitalInOut(board.D11)\x04>OKprint | |
(D11_pin.direction)\x04\x04\x04>OKdigitalio.Direction.INPUT\r\n\x04\x04D12_pin = digitalio. | |
DigitalInOut(board.D12)\x04>OKprint(D12_pin.direction)\x04\x04\x04>OKdigitalio.Direction.INPUT | |
\r\n\x04\x04D13_pin = digitalio.DigitalInOut(board.D13)\x04>OKprint(D13_pin.direction)\x04\x04 | |
\x04>OKdigitalio.Direction.INPUT\r\n\x04\x04D2_pin = digitalio.DigitalInOut(board.D2)\x04>OKprint | |
(D2_pin.direction)\x04\x04\x04>OKdigitalio.Direction.INPUT\r\n\x04\x04D3_pin = digitalio. | |
DigitalInOut(board.D3)\x04>OKprint(D3_pin.direction)\x04\x04\x04>OKdigitalio.Direction.INPUT\r\n | |
\x04\x04D4_pin = digitalio.DigitalInOut(board.D4)\x04>OKprint(D4_pin.direction)\x04\x04\x04>OK | |
digitalio.Direction.INPUT\r\n\x04\x04D5_pin = digitalio.DigitalInOut(board.D5)\x04>OKprint | |
(D5_pin.direction)\x04\x04\x04>OKdigitalio.Direction.INPUT\r\n\x04\x04D6_pin = digitalio. | |
DigitalInOut(board.D6)\x04>OKprint(D6_pin.direction)\x04\x04\x04>OKdigitalio.Direction.INPUT\r\ | |
n\x04\x04D7_pin = digitalio.DigitalInOut(board.D7)\x04>OKprint(D7_pin.direction)\x04\x04\x04> | |
OKdigitalio.Direction.INPUT\r\n\x04\x04D8_pin = digitalio.DigitalInOut(board.D8)\x04>OKprint | |
(D8_pin.direction)\x04\x04\x04>OKdigitalio.Direction.INPUT\r\n\x04\x04D9_pin = digitalio. | |
DigitalInOut(board.D9)\x04>OKprint(D9_pin.direction)\x04\x04\x04>OKdigitalio.Direction.INPUT\r\n | |
\x04\x04' | |
------------------------------------------------------------ | |
Ran 2 of 2 tests. | |
- Passed: 2 | |
- Failed: 0 | |
============================================================ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment