Skip to content
Permalink
Browse files

merge test-cddl directory into test

  • Loading branch information...
MarcFontaine committed May 15, 2019
1 parent 51f1360 commit 3bf9bf091944f7d0f2bd150ce0678b244e2467b6
@@ -11,7 +11,7 @@ category: Network
build-type: Simple
extra-source-files:
ChangeLog.md
cddl-test/messages.cddl
test/messages.cddl
cabal-version: >=1.10

Flag ipv6
@@ -230,8 +230,8 @@ test-suite tests

test-suite cddl
type: exitcode-stdio-1.0
hs-source-dirs: test-cddl src
main-is: Main.hs
hs-source-dirs: test src
main-is: CDDL.hs
if !flag(cddl)
buildable: False
other-modules: Ouroboros.Network.AnchoredFragment
@@ -34,7 +34,7 @@ type RR = ReqResp DummyBytes DummyBytes
type BF = BlockFetch BlockHeader BlockBody

main :: IO ()
main = generateAndDecode "cddl" "diag2cbor.rb" "test-cddl/messages.cddl" 100
main = generateAndDecode "cddl" "diag2cbor.rb" "test/messages.cddl" 100

generateAndDecode :: FilePath -> FilePath -> FilePath -> Int -> IO ()
generateAndDecode cddlCmd diag2cborCmd cddlSpec rounds = do
File renamed without changes.

0 comments on commit 3bf9bf0

Please sign in to comment.
You can’t perform that action at this time.