Added tools/printstandard.py and some regression tests.
[dwarf-doc.git] / dwarf5 / tools / Makefile
1 # Makefile which tests the python internals for sanity.
2
3 all:
4         echo 'make clean' and 'make test' do something.
5         echo default does nothing
6 clean:
7         -rm -f *.pyc
8         -rm -f *.tmp
9         -rm -f *.out
10         
11 test:   
12         python printtokens.py test1.in >test1.tmp
13         diff test1.tmp test1.base
14         python copyfile.py test1.in 
15         diff test1.in test1.in.out
16         python refclassfixup.py test2.in
17         diff test2.in.out test2.base
18         # checking for idempotence
19         python refclassfixup.py test2.in.out
20         diff test2.in.out test2.in.out.out
21         python taglink.py test1.in
22         diff test1.in.out taglink.base
23         # checking for idempotence
24         python taglink.py test1.in.out
25         diff test1.in.out.out taglink.base
26         python printstandard.py printstandard.in >printstandard.out
27         diff printstandard.out printstandard.base
28