Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
d710cef6
Commit
d710cef6
authored
Jan 13, 2015
by
Damien George
Browse files
minimal: Add simple test; build and run minimal test on Travis CI.
parent
a45b042e
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
d710cef6
...
...
@@ -12,6 +12,7 @@ before_script:
-
sudo apt-get install realpath
script
:
-
make -C minimal test
-
make -C unix CC=gcc-4.7
-
make -C unix-cpy CC=gcc-4.7
-
make -C bare-arm
...
...
minimal/Makefile
View file @
d710cef6
...
...
@@ -71,4 +71,7 @@ run:
sleep
1
reset
test
:
$(BUILD)/firmware.elf
$(Q)
echo
-e
"print('hello world!', list(x+1 for x in range(10)), end='eol
\\\\
n')
\\
r
\\
n
\\
x04"
|
$(BUILD)
/firmware.elf |
tail
-n2
|
grep
"^hello world!
\\
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10
\\
]eol"
include
../py/mkrules.mk
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment