diff options
| author | Jiuyang Liu | 2020-12-08 02:49:35 +0800 |
|---|---|---|
| committer | GitHub | 2020-12-07 18:49:35 +0000 |
| commit | e8f90ef5011cf488c8eb49bd578fbb95ae841512 (patch) | |
| tree | b9d723e1ed0f7af01cfdcfc00f51464355231071 /src/test | |
| parent | 5a6ce6604b5bde06dc88c55bc76aaf76aff87437 (diff) | |
(encore) Builder: use LazyLogging.logger.warn to print elaboration message (#1670)
* Builder: use LazyLogging.logger.warn to print elaboration message
* add deprecation for chisel3.internal.ErrorLog.info.
* add test to check elaboration message still exist.
Co-authored-by: Kevin Laeufer <kevin.laeufer@sifive.com>
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/scala/chiselTests/stage/ChiselMainSpec.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/scala/chiselTests/stage/ChiselMainSpec.scala b/src/test/scala/chiselTests/stage/ChiselMainSpec.scala index 679677d0..a11b8a44 100644 --- a/src/test/scala/chiselTests/stage/ChiselMainSpec.scala +++ b/src/test/scala/chiselTests/stage/ChiselMainSpec.scala @@ -132,6 +132,16 @@ class ChiselMainSpec extends AnyFeatureSpec with GivenWhenThen with Matchers wit } info("As a Chisel user") + info("I compile a design") + Feature("show elaborating message") { + runStageExpectFiles( + ChiselMainTest(args = Array("-X", "high"), + generator = Some(classOf[SameTypesModule]), + stdout = Some("Done elaborating.") + ) + ) + } + info("I screw up and compile some bad code") Feature("Stack trace trimming") { Seq( |
