Skip to content

Runtime error while running spec tests #1

@SandeepRajendran

Description

@SandeepRajendran

I am trying to run some of the tests under /src/test/scala/coverage/CoverageSpec.scala. But I run into a runtime error:

[info] ISAMiniCoverageSpec:
[info] coverage.ISAMiniCoverageSpec *** ABORTED ***
[info]   java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field firrtl.annotations.ReferenceTarget.component of type scala.collection.Seq in instance of firrtl.annotations.ReferenceTarget
[info]   at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2287)
[info]   at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1417)
[info]   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2293)
[info]   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
[info]   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
[info]   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
[info]   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
[info]   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
[info]   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
[info]   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
[info]   ...
[info] ScalaTest
[info] Run completed in 2 seconds, 632 milliseconds.
[info] Total number of tests run: 0
[info] Suites: completed 0, aborted 1
[info] Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0
[info] *** 1 SUITE ABORTED ***

The steps I took to run this were:

sbt -mem 4096
compile
test:compile
testOnly coverage.ISAMiniCoverageSpec

Please let me know if I have missed some steps or if there is another way to run these tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions