annotate src/testdir/Makefile @ 375:f14cbd913415 v7.0097

updated for version 7.0097
author vimboss
date Wed, 29 Jun 2005 22:40:58 +0000
parents 4be4e9c55b53
children 4fe8e1a7758e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # Makefile to run al tests for Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 VIMPROG = ../vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 SCRIPTS = test1.out test2.out test3.out test4.out test5.out test6.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 test7.out test8.out test9.out test10.out test11.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 test12.out test13.out test14.out test15.out test17.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 test18.out test19.out test20.out test21.out test22.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 test23.out test24.out test25.out test26.out test27.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 test28.out test29.out test30.out test31.out test32.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 test33.out test34.out test35.out test36.out test37.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 test38.out test39.out test40.out test41.out test42.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 test43.out test44.out test45.out test46.out test47.out \
40
f1d2a58883b9 updated for version 7.0024
vimboss
parents: 32
diff changeset
16 test48.out test49.out test51.out test52.out test53.out \
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 271
diff changeset
17 test54.out test55.out test56.out test57.out
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 SCRIPTS_GUI = test16.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 .SUFFIXES: .in .out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 nongui: nolog $(SCRIPTS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 @echo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 @cat test.log
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 @echo ALL DONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 gui: nolog $(SCRIPTS) $(SCRIPTS_GUI)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 @echo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 @cat test.log
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 @echo ALL DONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 $(SCRIPTS) $(SCRIPTS_GUI): $(VIMPROG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 clean:
19
a81bc802c17c updated for version 7.0011
vimboss
parents: 12
diff changeset
36 -rm -rf *.out *.failed *.rej *.orig test.log tiny.vim small.vim mbyte.vim test.ok X* viminfo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 test1.out: test1.in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 -rm -f $*.failed tiny.vim small.vim mbyte.vim test.ok X* viminfo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 $(VIMPROG) -u unix.vim -U NONE --noplugin -s dotest.in $*.in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 @/bin/sh -c "if diff test.out $*.ok; \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 then mv -f test.out $*.out; \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 else echo; \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 echo test1 FAILED - Something basic is wrong; \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 echo; exit 1; fi"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 -rm -rf X* viminfo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 .in.out:
342
4be4e9c55b53 updated for version 7.0088
vimboss
parents: 294
diff changeset
49 -rm -f $*.failed test.ok X* viminfo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 cp $*.ok test.ok
32
41f9fd58cf13 updated for version 7.0019
vimboss
parents: 19
diff changeset
51 # Sleep a moment to avoid that the xterm title is messed up
41f9fd58cf13 updated for version 7.0019
vimboss
parents: 19
diff changeset
52 @-sleep .2
169
0e902b8f511f updated for version 7.0051
vimboss
parents: 120
diff changeset
53 -$(VIMPROG) -u unix.vim -U NONE --noplugin -s dotest.in $*.in
0e902b8f511f updated for version 7.0051
vimboss
parents: 120
diff changeset
54 @/bin/sh -c "if test -f test.out; then\
0e902b8f511f updated for version 7.0051
vimboss
parents: 120
diff changeset
55 if diff test.out $*.ok; \
0e902b8f511f updated for version 7.0051
vimboss
parents: 120
diff changeset
56 then mv -f test.out $*.out; \
0e902b8f511f updated for version 7.0051
vimboss
parents: 120
diff changeset
57 else echo $* FAILED >>test.log; mv -f test.out $*.failed; \
0e902b8f511f updated for version 7.0051
vimboss
parents: 120
diff changeset
58 fi \
0e902b8f511f updated for version 7.0051
vimboss
parents: 120
diff changeset
59 else echo $* NO OUTPUT >>test.log; \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 fi"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 -rm -rf X* test.ok viminfo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 nolog:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 -echo Test results: >test.log