source: trunk/moap/test/Makefile.am @ 230

Revision 230, 825 bytes checked in by thomas, 6 years ago (diff)
  • moap/command/doap.py (Rss.do): break into two lines
  • moap/doap/rss.py (doapsToRss, createdToPubDate, cheetah_toRss): Make the two template language's output as similar as possible.
  • moap/test/Makefile.am:
  • moap/test/rss/mach.rss.cheetah:
  • moap/test/rss/mach.rss.genshi: Add two rss feeds based on the two templating languages.
  • moap/test/test_commands_doap.py (TestDoapMach?.setUp, TestDoapMach?.testRssGenshi, TestDoapMach?.testRssCheetah): Add tests for the specific template languages. Coverage: 72 % ( 844 / 1157)
Line 
1CLEANFILES = *.py{c,o}
2
3EXTRA_DIST = \
4        __init__.py \
5        common.py \
6        test_commands_cl.py \
7        test_commands_doap.py \
8        test_doap_doap.py \
9        test_util_ctags.py \
10        test_util_distro.py \
11        test_util_util.py \
12        test_vcs_cvs.py \
13        test_vcs_darcs.py \
14        test_vcs_svn.py \
15        test_bash_completion.sh \
16        ChangeLog \
17        ChangeLog/ChangeLog.moap \
18        ChangeLog/ChangeLog.moap.2 \
19        ChangeLog/ChangeLog.gst-plugins-good \
20        ChangeLog/ChangeLog.gstreamer \
21        doap/mach.doap \
22        ical/mach.ical \
23        rss/mach.rss.cheetah \
24        rss/mach.rss.genshi \
25        diff/svn_add_one_line.diff \
26        diff/svn_multiple.diff \
27        prepare/mail.py \
28        prepare/mail.patch
29
30# re-generation of test files when needed
31%.regenerate:
32        rm $*
33        make $*
34
35rss/mach.rss.cheetah:
36        moap doap -f doap/mach.doap rss -t cheetah > $@
37
38rss/mach.rss.genshi:
39        moap doap -f doap/mach.doap rss -t genshi > $@
Note: See TracBrowser for help on using the repository browser.