File: format2

package info (click to toggle)
pybliographer 1.2.12-4squeeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,560 kB
  • ctags: 1,413
  • sloc: python: 9,817; xml: 2,560; sh: 813; makefile: 621
file content (27 lines) | stat: -rwxr-xr-x 659 bytes parent folder | download | duplicates (3)
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
#!/bin/sh

. ${srcdir}/testing.sh

tst_start

com="../pybliographer -q ${srcdir}/format.py ${srcdir}/pybtext.bib"

for type in raw html latex ; do
    run ${com} ${srcdir}/../Styles/abbrvau.xml ${type} > tmp.fmt
    run diff tmp.fmt ${srcdir}/format2.${type}
    run rm -f tmp.fmt
done

run ${com} ${srcdir}/../Styles/abbrvbib.xml text > tmp.fmt
run diff tmp.fmt ${srcdir}/format2.text
run rm -f tmp.fmt

run ${com} ${srcdir}/../Styles/abbrvnum.xml textnum > tmp.fmt
run diff tmp.fmt ${srcdir}/format2.textnum
run rm -f tmp.fmt

run ${com} ${srcdir}/../Styles/abbrvau.xml textau > tmp.fmt
run diff tmp.fmt ${srcdir}/format2.textau
run rm -f tmp.fmt

tst_stop