From 7bf92a1ee80c988f736d4f3f1a5a8edbca74456e Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 24 Aug 2009 21:27:30 +0200 Subject: * digital/avr/modules/math/fixed: - round division result (closes #96). - changed macros to inlined. --- digital/avr/modules/math/fixed/test/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'digital/avr/modules/math/fixed/test/Makefile') 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) > $@ -- cgit v1.2.3