Megatest

Diff
Login

Differences From Artifact [ca46bf23f9]:

To Artifact [ea14a7a617]:


17
18
19
20
21
22
23

24

25

26

27
28
29
30
31
32
33
17
18
19
20
21
22
23
24

25
26
27

28
29
30
31
32
33
34
35







+
-
+

+
-
+







FS  = $(shell df -T .|tail -1|awk '{print $$2}')
VER = $(shell fsl info|grep checkout|awk '{print $$2}'|cut -c 1-5)

# The NEWTARGET causes some tests to fail. Do not use until this is fixed.
NEWTARGET  = "$(OS)/$(FS)/$(VER)"
TARGET     = "ubuntu/nfs/none"

all : build unit test4
all : build unit test1 test2 test3 test4 test5 test6 test7 test8 test9
# test1 test2 test3 test4 test5 test6 test7 test8 test9

unit : all-rmt.log
unit : basicserver.log runs.log misc.log tests.log
# basicserver.log runs.log misc.log tests.log

rel : 
	cd release;dashboard -rows 25 &

## basicserver.log : unittests/basicserver.scm
## 	script -c "./rununittest.sh basicserver $(DEBUG)" basicserver.log

169
170
171
172
173
174
175
176

177
178
179
180
181
182
183
171
172
173
174
175
176
177

178
179
180
181
182
183
184
185







-
+







	mkdir -p mintest/runs mintest/links
	cd mintest;$(MEGATEST) -stop-server 0
	cd mintest;$(MEGATEST) -server - -debug $(DEBUG) > server.log 2> server.log & 
	sleep 3
	cd mintest;$(DASHBOARD) -rows 18 &

cleanprep : ../*.scm Makefile */*.config build
	mkdir -p fullrun/tmp/mt_runs fullrun/tmp/mt_links /tmp/$(USER)/adisk1
	mkdir -p fullrun/tmp/mt_runs fullrun/tmp/mt_links /tmp/$(USER)/adisk1 fullrun/logs
	rm -f */logging.db
	touch cleanprep

fullprep : cleanprep
	cd fullrun;$(MEGATEST) -remove-runs :runname $(RUNNAME)% -target %/%/% -testpatt %/%
	cd fullrun;$(BINPATH)/dashboard -rows 15 &