Skip to content

Commit

Permalink
Added cardano-ledger-conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
Soupstraw committed Nov 1, 2023
1 parent c617745 commit 7297c1b
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ repository cardano-haskell-packages
c00aae8461a256275598500ea0e187588c35a5d5d7454fb57eac18d9edb86a56
d4a35cd3121aa00d18544bb0ac01c3e1691d618f462c46129271bccf39f7e8ee

source-repository-package
type: git
location: https://github.com/input-output-hk/cardano-ledger-executable-spec.git
tag: 1dc69a3b8b80838ffa38a600879ae530c0fcab16

index-state:
-- Bump this if you need newer packages from Hackage
, hackage.haskell.org 2023-09-29T00:20:27Z
Expand Down Expand Up @@ -55,6 +60,7 @@ packages:
eras/byron/crypto/test

-- Packages used during development and are not released to CHaPs:
libs/cardano-ledger-conformance
libs/cardano-ledger-test
libs/plutus-preprocessor
libs/ledger-state
Expand Down
3 changes: 3 additions & 0 deletions hie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ cradle:
- path: "libs/cardano-ledger-binary/test"
component: "cardano-ledger-binary:test:tests"

- path: "libs/cardano-ledger-conformance/src"
component: "lib:cardano-ledger-conformance"

- path: "libs/cardano-ledger-core/src"
component: "lib:cardano-ledger-core"

Expand Down
3 changes: 3 additions & 0 deletions libs/cardano-ledger-conformance/Setup.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Distribution.Simple

main = defaultMain
36 changes: 36 additions & 0 deletions libs/cardano-ledger-conformance/cardano-ledger-conformance.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
cabal-version: 3.0
name: cardano-ledger-conformance
version: 0.1.0.0
license: Apache-2.0
maintainer: operations@iohk.io
author: IOHK
bug-reports: https://github.com/input-output-hk/cardano-ledger/issues
synopsis: Testing utilities for conformance testing
description: Testing utilities for conformance testing
build-type: Simple
extra-source-files: CHANGELOG.md

source-repository head
type: git
location: https://github.com/input-output-hk/cardano-ledger
subdir: libs/cardano-ledger-conformance

flag asserts
description: Enable assertions
default: False

library
exposed-modules: Test.Cardano.Ledger.Conformance
hs-source-dirs: src
default-language: Haskell2010
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wpartial-fields
-Wunused-packages

build-depends:
base >=4.14 && <4.19,
cardano-ledger-executable-spec

if flag(asserts)
ghc-options: -fno-ignore-asserts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module Test.Cardano.Ledger.Conformance (

) where

import Lib (TxBody)

-- Placeholder so that the compiler wouldn't complain about
-- `cardano-ledger-executable-spec` being a redundant dependency
_placeholder :: TxBody
_placeholder = undefined

0 comments on commit 7297c1b

Please sign in to comment.