Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime error while running spec tests #1

Open
SandeepRajendran opened this issue Sep 24, 2019 · 0 comments
Open

Runtime error while running spec tests #1

SandeepRajendran opened this issue Sep 24, 2019 · 0 comments

Comments

@SandeepRajendran
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant