mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #1707 from locicontrols/bloom
tests/bloom: Prevent word lists from being copied into RAM and un-blacklist some boards.
This commit is contained in:
commit
221d8c9e51
@ -1,9 +1,8 @@
|
||||
APPLICATION = bloom
|
||||
include ../Makefile.tests_common
|
||||
|
||||
BOARD_INSUFFICIENT_RAM := chronos mbed_lpc1768 msb-430 msb-430h redbee-econotag \
|
||||
telosb wsn430-v1_3b wsn430-v1_4 z1 stm32f0discovery \
|
||||
stm32f3discovery pca10000 pca10005 yunjia-nrf51822
|
||||
BOARD_INSUFFICIENT_RAM := chronos msb-430 msb-430h redbee-econotag \
|
||||
telosb wsn430-v1_3b wsn430-v1_4 z1 stm32f0discovery
|
||||
|
||||
BOARD_BLACKLIST := arduino-mega2560
|
||||
# arduino-mega2560: Errors in assembly, e.g:
|
||||
|
@ -24,12 +24,12 @@ A = A[sizeOfB:]
|
||||
|
||||
SetsFile = open(sys.argv[2], 'w')
|
||||
SetsFile.write('const int lenA = ' + str(sizeOfA) + ';\n')
|
||||
SetsFile.write('const char* A[' + str(sizeOfA) + '] = {')
|
||||
SetsFile.write('const char* const A[' + str(sizeOfA) + '] = {')
|
||||
SetsFile.writelines(",".join('"' + x + '"\n' for x in A))
|
||||
SetsFile.write('};\n')
|
||||
|
||||
SetsFile.write('const int lenB = ' + str(sizeOfB) + ';\n')
|
||||
SetsFile.write('const char* B[' + str(sizeOfB) + '] = {')
|
||||
SetsFile.write('const char* const B[' + str(sizeOfB) + '] = {')
|
||||
SetsFile.writelines(",".join('"' + x + '"\n' for x in B))
|
||||
SetsFile.write('};\n')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user