From 10b662c1208ede66344e86bc07584c7efeb9ab2c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 7 Aug 2014 22:21:09 -0700 Subject: [PATCH] EPUB test renaming. Renamed epub test files so they're identified more clearly as epub: features.{epub,native} -> epub.features.{epub,native}, and similarly with formatting.{epub,native}. Added epub test files to cabal file, so they'll be included in the tarball. --- pandoc.cabal | 2 ++ tests/Tests/Old.hs | 4 ++-- tests/{features.epub => epub.features.epub} | Bin tests/{features.native => epub.features.native} | 0 tests/{formatting.epub => epub.formatting.epub} | Bin tests/{formatting.native => epub.formatting.native} | 0 6 files changed, 4 insertions(+), 2 deletions(-) rename tests/{features.epub => epub.features.epub} (100%) rename tests/{features.native => epub.features.native} (100%) rename tests/{formatting.epub => epub.formatting.epub} (100%) rename tests/{formatting.native => epub.formatting.native} (100%) diff --git a/pandoc.cabal b/pandoc.cabal index 815fb6b87..c2e742faa 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -158,6 +158,8 @@ Extra-Source-Files: tests/lhs-test.html+lhs, tests/lhs-test.fragment.html+lhs, tests/pipe-tables.txt, + tests/epub.formatting.epub, + tests/epub.features.epub, tests/fb2.basic.markdown, tests/fb2.basic.fb2, tests/fb2.titles.markdown, diff --git a/tests/Tests/Old.hs b/tests/Tests/Old.hs index 9bcc37b57..03acf6b8c 100644 --- a/tests/Tests/Old.hs +++ b/tests/Tests/Old.hs @@ -147,9 +147,9 @@ tests = [ testGroup "markdown" "txt2tags.t2t" "txt2tags.native" ] , testGroup "epub" [ test "features" ["-r", "epub", "-w", "native"] - "features.epub" "features.native" + "epub.features.epub" "epub.features.native" , test "formatting" ["-r", "epub", "-w", "native"] - "formatting.epub" "formatting.native" + "epub.formatting.epub" "epub.formatting.native" ] , testGroup "other writers" $ map (\f -> testGroup f $ writerTests f) [ "opendocument" , "context" , "texinfo", "icml" diff --git a/tests/features.epub b/tests/epub.features.epub similarity index 100% rename from tests/features.epub rename to tests/epub.features.epub diff --git a/tests/features.native b/tests/epub.features.native similarity index 100% rename from tests/features.native rename to tests/epub.features.native diff --git a/tests/formatting.epub b/tests/epub.formatting.epub similarity index 100% rename from tests/formatting.epub rename to tests/epub.formatting.epub diff --git a/tests/formatting.native b/tests/epub.formatting.native similarity index 100% rename from tests/formatting.native rename to tests/epub.formatting.native