aboutsummaryrefslogtreecommitdiff
path: root/BuildTests/BootloaderTest
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-05-13 15:03:56 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-05-13 15:03:56 +0000
commitcfc219adad6ffc597507a42319ed495669ae11c9 (patch)
tree1c9aa891ecc263b98c2bff77c5adae82e1c623e3 /BuildTests/BootloaderTest
parenta8127cb0d11874daaeea8e20dc4dbc32be3173ea (diff)
Minor tweaks to the build tests to ensure that they will operate properly on all systems.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2211 d5102386-fcda-11dd-9fdb-3debd5008f28
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 4d6bbd7b..8cb5d28d 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 3a6e5574..7ce56c49 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`; \