~ubuntu-branches/ubuntu/trusty/opencc/trusty-proposed

« back to all changes in this revision

Viewing changes to test/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing, Asias He, LI Daobing
  • Date: 2010-08-11 22:04:12 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100811220412-ojbzhlzxphjs1340
Tags: 0.1.1-1
[ Asias He ]
* New upstream release (closes: #591076).
* debian/control: bump standards version to 3.9.1.
* debian/watch: use googlecode.debian.net.

[ LI Daobing ]
* debian/clean: added. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
link = ln -sf
 
2
opencc = $(top_builddir)/src/opencc
 
3
dictionary = $(top_builddir)/src/*.ocd
 
4
config = $(top_srcdir)/data/config/*.ini
 
5
check_sh = $(top_srcdir)/test/check.sh
 
6
 
 
7
testcases_dir = $(top_srcdir)/test/testcases
 
8
zhs2zht_in = $(testcases_dir)/zhs2zht.in
 
9
zhs2zht_ans = $(testcases_dir)/zhs2zht.ans
 
10
zht2zhs_in = $(testcases_dir)/zht2zhs.in
 
11
zht2zhs_ans = $(testcases_dir)/zht2zhs.ans
 
12
mix2zht_in = $(testcases_dir)/mix2zht.in
 
13
mix2zht_ans = $(testcases_dir)/mix2zht.ans
 
14
mix2zhs_in = $(testcases_dir)/mix2zhs.in
 
15
mix2zhs_ans = $(testcases_dir)/mix2zhs.ans
 
16
 
 
17
testcases = \
 
18
        $(zhs2zht_in) \
 
19
        $(zhs2zht_ans) \
 
20
        $(zht2zhs_in) \
 
21
        $(zht2zhs_ans) \
 
22
        $(mix2zht_in) \
 
23
        $(mix2zht_ans) \
 
24
        $(mix2zhs_in) \
 
25
        $(mix2zhs_ans) \
 
26
        $(NULL)
 
27
 
 
28
EXTRA_DIST = \
 
29
        check.sh \
 
30
        $(testcases) \
 
31
        $(NULL)
 
32
 
 
33
all: all-am test
 
34
 
 
35
test: $(opencc) $(dictionary) $(config) $(check_sh) $(testcases)
 
36
        $(link) $(opencc) .
 
37
        $(link) $(dictionary) .
 
38
        $(link) $(config) .
 
39
        $(link) $(zhs2zht_in) .
 
40
        $(link) $(zhs2zht_ans) .
 
41
        $(link) $(zht2zhs_in) .
 
42
        $(link) $(zht2zhs_ans) .
 
43
        $(link) $(mix2zht_in) .
 
44
        $(link) $(mix2zht_ans) .
 
45
        $(link) $(mix2zhs_in) .
 
46
        $(link) $(mix2zhs_ans) .
 
47
        $(SHELL) $(check_sh) zhs2zht
 
48
        $(SHELL) $(check_sh) zht2zhs
 
49
        $(SHELL) $(check_sh) mix2zht
 
50
        $(SHELL) $(check_sh) mix2zhs