File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
ouroboros-consensus-cardano
test/cardano-test/Test/Consensus/Cardano Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -464,7 +464,7 @@ test-suite cardano-test
464
464
cardano-ledger-babbage :testlib,
465
465
cardano-ledger-babbage-test,
466
466
cardano-ledger-binary :testlib,
467
- cardano-ledger-byron,
467
+ cardano-ledger-byron :{cardano-ledger-byron, testlib} ,
468
468
cardano-ledger-conway :testlib,
469
469
cardano-ledger-core :{cardano-ledger-core, testlib},
470
470
cardano-ledger-mary :testlib,
Original file line number Diff line number Diff line change @@ -15,12 +15,9 @@ import qualified System.Environment as E
15
15
import System.Exit
16
16
import qualified System.FilePath as F
17
17
import qualified System.Process.ByteString.Lazy as P
18
-
19
- -- TODO: this is waiting to update to a newer ledger
20
- -- import qualified Test.Cardano.Chain.Binary.Cddl as Byron
21
-
22
18
import System.IO
23
19
import System.IO.Temp
20
+ import qualified Test.Cardano.Chain.Binary.Cddl as Byron
24
21
import qualified Test.Cardano.Ledger.Allegra.Binary.Cddl as Allegra
25
22
import qualified Test.Cardano.Ledger.Alonzo.Binary.Cddl as Alonzo
26
23
import qualified Test.Cardano.Ledger.Babbage.Binary.Cddl as Babbage
@@ -79,7 +76,7 @@ setupCDDLCEnv = do
79
76
-- Note also that cabal run will run in the root of the project and
80
77
-- cabal test will run in `ouroboros-consensus-cardano`. This path
81
78
-- is for the latter.
82
- byron <- pure [ " ../../cardano-ledger/eras/byron/cddl-spec/ " ]
79
+ byron <- map takePath <$> Byron. readByronCddlFileNames
83
80
shelley <- map takePath <$> Shelley. readShelleyCddlFileNames
84
81
allegra <- map takePath <$> Allegra. readAllegraCddlFileNames
85
82
mary <- map takePath <$> Mary. readMaryCddlFileNames
You can’t perform that action at this time.
0 commit comments