1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# run some tests
BINPATH=$(shell realpath ../bin)
MEGATEST=$(BINPATH)/megatest
PATH := $(BINPATH):$(PATH)
runall :
cd ../;make install
mkdir -p /tmp/mt_runs /tmp/mt_links
$(BINPATH)/dboard -rows 15 &
$(MEGATEST) -runall -target ubuntu/nfs/none :runname `date +w%V.%u.%H` -m "This is a comment specific to a run" -v
test :
csi -b -I .. ../megatest.scm -- -runall -target ubuntu/afs/tmp :runname blah
cd ../;make test
make runall
dashboard :
cd ../;make install
$(BINPATH)/dboard &
remove :
(cd ../;make);$(MEGATEST) -remove-runs :runname $(RUN) -testpatt % -itempatt % :sysname % :fsname % :datapath %
runforever :
while(ls); do runname=`date +%F-%R:%S`;$(MEGATEST) -runall -target ubuntu/nfs/none :runname $$runname;/home/matt/data/megatest/megatest -runall -target ubuntu/nfs/none :runname $$runname;/home/matt/data/megatest/megatest -runall -target ubuntu/nfs/none :runname $$runname;done
|
>
>
|
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
<
>
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# run some tests
BINPATH=$(shell realpath ../bin)
MEGATEST=$(BINPATH)/megatest
PATH := $(BINPATH):$(PATH)
RUNNAME := $(shell date +w%V.%u.%H)
IPADDR :="-"
runall : test1 test2
test1 : cleanprep
$(MEGATEST) -runtests ez_pass -target ubuntu/nfs/none :runname $(RUNNAME)_a -server $(IPADDR)
test2 : cleanprep
$(MEGATEST) -runtests runfirst -target ubuntu/nfs/none :runname $(RUNNAME)_b -server $(IPADDR) -debug 10
test3 : cleanprep
$(MEGATEST) -runall -target ubuntu/nfs/none :runname $(RUNNAME)_b -m "This is a comment specific to a run" -v -server $(IPADDR)
cleanprep : ../*.scm
sqlite3 megatest.db "delete from metadat where var='SERVER';"
mkdir -p /tmp/mt_runs /tmp/mt_links
cd ..;make
@sleep 1
@if ps -def |awk '{print $8}'|grep megatest; then \
echo WARNING: These tests will kill megatest and dashboard!; \
sleep 3; \
killall -9 dboard || true; \
killall -9 megatest || true; \
fi
cd ../;make install
$(MEGATEST) -remove-runs :runname $(RUNNAME)% -target %/%/% -testpatt % -itempatt %
$(BINPATH)/dboard -rows 15 &
touch cleanprep
test :
csi -b -I .. ../megatest.scm -- -runall -target ubuntu/afs/tmp :runname blah
cd ../;make test
make runall
dashboard :
cd ../;make install
$(BINPATH)/dboard &
remove :
(cd ../;make);$(MEGATEST) -remove-runs :runname $(RUN) -testpatt % -itempatt % :sysname % :fsname % :datapath %
clean :
rm cleanprep
runforever :
while(ls); do runname=`date +%F-%R:%S`;$(MEGATEST) -runall -target ubuntu/nfs/none :runname $$runname;/home/matt/data/megatest/megatest -runall -target ubuntu/nfs/none :runname $$runname;/home/matt/data/megatest/megatest -runall -target ubuntu/nfs/none :runname $$runname;done
|