aboutsummaryrefslogtreecommitdiffstats
path: root/BuildTests/BootloaderTest
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-05-13 15:03:56 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-05-13 15:03:56 +0000
commit0a00ee403732be3925bf68c755823b93dfb3169d (patch)
tree1c9aa891ecc263b98c2bff77c5adae82e1c623e3 /BuildTests/BootloaderTest
parent998009c490409ed4419d3f3d6e43313826bc1796 (diff)
downloadlufa-0a00ee403732be3925bf68c755823b93dfb3169d.tar.gz
lufa-0a00ee403732be3925bf68c755823b93dfb3169d.tar.bz2
lufa-0a00ee403732be3925bf68c755823b93dfb3169d.zip
Minor tweaks to the build tests to ensure that they will operate properly on all systems.
Diffstat (limited to 'BuildTests/BootloaderTest')
-rw-r--r--BuildTests/BootloaderTest/BootloaderDeviceMap.cfg7
-rw-r--r--BuildTests/BootloaderTest/makefile2
2 files changed, 5 insertions, 4 deletions
diff --git a/BuildTests/BootloaderTest/BootloaderDeviceMap.cfg b/BuildTests/BootloaderTest/BootloaderDeviceMap.cfg
index 4d6bbd7b8..8cb5d28dd 100644
--- a/BuildTests/BootloaderTest/BootloaderDeviceMap.cfg
+++ b/BuildTests/BootloaderTest/BootloaderDeviceMap.cfg
@@ -1,5 +1,5 @@
# BOOTLOADER = {ARCH} : {MCU} : {BOARD} : {FLASH SIZE KB} : {BOOT SIZE KB} :
-
+#
# ------------ CDC Bootloader -------------
CDC = avr8 : at90usb1287 : NONE : 128 : 8 :
CDC = avr8 : at90usb647 : NONE : 64 : 4 :
@@ -12,7 +12,7 @@ CDC = avr8 : atmega16u2 : NONE : 16 : 4 :
CDC = avr8 : atmega8u2 : NONE : 8 : 4 :
CDC = avr8 : at90usb162 : NONE : 16 : 4 :
CDC = avr8 : at90usb82 : NONE : 8 : 4 :
-
+#
# ------------ DFU Bootloader -------------
DFU = avr8 : at90usb1287 : NONE : 128 : 8 :
DFU = avr8 : at90usb647 : NONE : 64 : 4 :
@@ -26,7 +26,7 @@ DFU = avr8 : atmega16u2 : NONE : 16 : 4 :
DFU = avr8 : atmega8u2 : NONE : 8 : 4 :
DFU = avr8 : at90usb162 : NONE : 16 : 4 :
DFU = avr8 : at90usb82 : NONE : 8 : 4 :
-
+#
# ------------ HID Bootloader -------------
HID = avr8 : at90usb1287 : NONE : 128 : 4 :
HID = avr8 : at90usb647 : NONE : 64 : 4 :
@@ -40,3 +40,4 @@ HID = avr8 : atmega16u2 : NONE : 16 : 2 :
HID = avr8 : atmega8u2 : NONE : 8 : 2 :
HID = avr8 : at90usb162 : NONE : 16 : 2 :
HID = avr8 : at90usb82 : NONE : 8 : 2 :
+# \ No newline at end of file
diff --git a/BuildTests/BootloaderTest/makefile b/BuildTests/BootloaderTest/makefile
index 3a6e5574c..7ce56c49f 100644
--- a/BuildTests/BootloaderTest/makefile
+++ b/BuildTests/BootloaderTest/makefile
@@ -31,7 +31,7 @@ testbootloaders:
do \
build_cfg=`echo $$line | sed 's/ //g' | grep -v "#"`; \
\
- if ( ! test -z "$$build_cfg" ); then \
+ if ( test -n "$$build_cfg" ); then \
build_bootloader=`echo $$build_cfg | cut -d'=' -f1`; \
build_arch=`echo $$build_cfg | cut -d'=' -f2- | cut -d':' -f1`; \
build_mcu=`echo $$build_cfg | cut -d'=' -f2- | cut -d':' -f2`; \