travis, minimal: Install gcc-multilib for -m32; use /bin/echo for test.

This commit is contained in:
Damien George 2015-01-14 00:26:39 +00:00
parent 1e1779eacf
commit bc47c287df
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ before_script:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded - sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -y python3.3 python3 gcc-4.7 gcc-arm-none-eabi qemu-system mingw32 - sudo apt-get install -y python3.3 python3 gcc-4.7 gcc-multilib gcc-arm-none-eabi qemu-system mingw32
# For teensy build # For teensy build
- sudo apt-get install realpath - sudo apt-get install realpath

View File

@ -72,6 +72,6 @@ run:
reset reset
test: $(BUILD)/firmware.elf 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" $(Q)/bin/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 include ../py/mkrules.mk