summaryrefslogtreecommitdiff
path: root/digital/avr/modules/math/fixed/test/Makefile
diff options
context:
space:
mode:
authorNicolas Schodet2009-08-24 21:27:30 +0200
committerNicolas Schodet2009-08-24 21:27:30 +0200
commit7bf92a1ee80c988f736d4f3f1a5a8edbca74456e (patch)
tree441643baab65dae35ab31618f2969e0015113c81 /digital/avr/modules/math/fixed/test/Makefile
parent6ed931bd5a6978bf69303d4eb69eab406983fbf1 (diff)
* digital/avr/modules/math/fixed:
- round division result (closes #96). - changed macros to inlined.
Diffstat (limited to 'digital/avr/modules/math/fixed/test/Makefile')
-rw-r--r--digital/avr/modules/math/fixed/test/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/digital/avr/modules/math/fixed/test/Makefile b/digital/avr/modules/math/fixed/test/Makefile
index 04aa4cff..17412941 100644
--- a/digital/avr/modules/math/fixed/test/Makefile
+++ b/digital/avr/modules/math/fixed/test/Makefile
@@ -28,6 +28,7 @@ clean.test:
rm -f $(TEST_FILES)
SIMULAVR = simulavr -d $(AVR_MCU) -W 0x22,- -R 0x20,- -T uart0_exit
+CR2NL = tr '\r' '\n'
.PRECIOUS: $(TEST_FILES)
@@ -35,4 +36,4 @@ test.%.host: test_fixed.host
echo '!$(call code,$@,host)' | ./$< > $@
test.%.simu: test_fixed.avr.simu.elf
- echo '!$(call code,$@,simu)\r' | $(SIMULAVR) -f $< > $@
+ echo -e '!$(call code,$@,simu)\r' | $(SIMULAVR) -f $< | $(CR2NL) > $@