Revision 1438 trunk/tests/GNUmakefile

GNUmakefile (revision 1438)
1
DIST=../build/dist
2

  
1 3
GTEST_DIR=googletest-read-only
2 4

  
3 5
all: test-cov_re test-expm
......
111 113
beta3:
112 114
	OPTIONS=-s $(MAKE) --directory=$@
113 115

  
116
verify:
117
ifeq ($(SHELL),sh.exe)
118
	$(MAKE) FAST_OPTION=-f -C $(DIST)\examples --file=Makefile all
119
	pushd ..\build\dist & ..\..\scripts\get-outputs.bat > "..\..\benchmarks-opt.txt" & popd
120
	$(MAKE) -C $(DIST)\examples --file=Makefile all
121
	pushd ..\build\dist & ..\..\scripts\get-outputs.bat > "..\..\benchmarks-saf.txt" & popd
122
else
123
	$(MAKE) -j 8 FAST_OPTION=-f -C $(DIST)/examples all
124
	-../scripts/get-outputs.sh ${DIST}/examples/ > "../benchmarks-opt.txt"
125
	$(MAKE) -j 8 -C $(DIST)/examples all
126
	-../scripts/get-outputs.sh ${DIST}/examples/ > "../benchmarks-saf.txt"
127
endif
128

  
114 129
clean:
115 130
ifeq ($(SHELL),sh.exe)
116 131
	$(MAKE) --directory=expm --file=Makefile clean
......
146 161
	$(MAKE) --directory=cov_re clean
147 162
	$(MAKE) --directory=gtests clean
148 163
endif
164

  
165
copy:
166
ifeq ($(SHELL),sh.exe)
167
	if not exist ${DIST}\tests md ${DIST}\tests
168
	xcopy ..\tests $(DIST)\tests /S /Y /D
169
else
170
	cp -R ../tests ${DIST}
171
endif

Also available in: Unified diff