Skip to content

Commit

Permalink
[test] Add large AVR unittests for Mega 2560 board
Browse files Browse the repository at this point in the history
  • Loading branch information
salkinium committed Apr 25, 2020
1 parent 80b62fb commit 11ffe92
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 6 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
(cd test && make compile-al-avreb-can)
(cd test && make compile-arduino-uno)
(cd test && make compile-arduino-nano)
(cd test && make compile-mega-2560-pro)
- run:
name: Linux Examples
command: |
Expand Down
17 changes: 11 additions & 6 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,23 @@ run-nucleo-f103:


compile-al-avreb-can:
$(call compile-test,al-avreb-can)
$(call compile-test,al-avreb-can,size)
run-al-avreb-can:
$(call run-test,al-avreb-can)
$(call run-test,al-avreb-can,size)


compile-arduino-uno:
$(call compile-test,arduino-uno)
$(call compile-test,arduino-uno,size)
run-arduino-uno:
$(call run-test,arduino-uno)
$(call run-test,arduino-uno,size)


compile-arduino-nano:
$(call compile-test,arduino-nano)
$(call compile-test,arduino-nano,size)
run-arduino-nano:
$(call run-test,arduino-nano)
$(call run-test,arduino-nano,size)

compile-mega-2560-pro:
$(call compile-test,mega-2560-pro,size)
run-mega-2560-pro:
$(call run-test,mega-2560-pro,size)
38 changes: 38 additions & 0 deletions test/config/mega-2560-pro.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version='1.0' encoding='UTF-8'?>
<library>
<extends>modm:mega-2560-pro</extends>
<options>
<option name="modm:build:build.path">../../build/generated-unittest/mega-2560-pro/</option>
<option name="modm:build:scons:unittest.source">../../build/generated-unittest/mega-2560-pro/modm-test</option>
<option name="modm:build:scons:info.git">Disabled</option>
<option name="modm:io:with_float">True</option>
<option name="modm:io:with_long_long">True</option>
<option name="modm:io:with_printf">True</option>
</options>

<modules>
<module>modm-test:test:architecture</module>
<module>modm-test:test:communication:sab</module>


<!-- <module>modm-test:test:communication:xpcc</module> -->


<module>modm-test:test:container</module>


<module>modm-test:test:driver</module>
<module>modm-test:test:stdc++</module>


<module>modm-test:test:io</module>
<module>modm-test:test:platform:**</module>


<module>modm-test:test:processing</module>


<module>modm-test:test:ui</module>
<module>modm-test:test:math</module>
</modules>
</library>

0 comments on commit 11ffe92

Please sign in to comment.