File: fmac.mk

package info (click to toggle)
bart-cuda 0.8.00-2
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm, sid
  • size: 7,752 kB
  • sloc: ansic: 100,267; python: 717; makefile: 576; sh: 564; cpp: 104
file content (16 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

tests/test-fmac-sum: ones fmac noise nrmse
	set -e; mkdir $(TESTS_TMP) ; cd $(TESTS_TMP)					;\
	$(TOOLDIR)/ones 3 2 1 3 a0.ra							;\
	$(TOOLDIR)/noise a0.ra a1.ra							;\
	$(TOOLDIR)/fmac -s 4 a1.ra a2.ra						;\
	$(TOOLDIR)/ones 1 1 o.ra							;\
	$(TOOLDIR)/fmac -s 4 a1.ra o.ra a3.ra						;\
	$(TOOLDIR)/nrmse -t 0. a2.ra a3.ra						;\
	rm *.ra ; cd .. ; rmdir $(TESTS_TMP)
	touch $@



TESTS += tests/test-fmac-sum