diff options
| author | Schuyler Eldridge | 2018-06-21 15:05:31 -0400 |
|---|---|---|
| committer | Jack Koenig | 2018-06-21 12:05:31 -0700 |
| commit | f86d72c9cd2526fc33528cc6a8023d1c313c4eb2 (patch) | |
| tree | b73f16fc2eca4e2935d965dde87e21f3c418df19 /src/test | |
| parent | 61cf31d35c5bf22bebdcd959eac2cb8ff3574f33 (diff) | |
--infer-rw should take no argument (#829)
This fixes --infer-rw to not expect an argument. After the annotations
refactor, no option was required, but some legacy code remained.
This also updates the test cases to be more correct and not specify an
option to --infer-rw.
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/scala/firrtlTests/DriverSpec.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/firrtlTests/DriverSpec.scala b/src/test/scala/firrtlTests/DriverSpec.scala index 43275392..4afd5674 100644 --- a/src/test/scala/firrtlTests/DriverSpec.scala +++ b/src/test/scala/firrtlTests/DriverSpec.scala @@ -183,7 +183,7 @@ class DriverSpec extends FreeSpec with Matchers with BackendCompilationUtilities val optionsManager = new ExecutionOptionsManager("test") with HasFirrtlOptions optionsManager.parse( - Array("--infer-rw", "circuit") + Array("--infer-rw") ) should be(true) val firrtlOptions = optionsManager.firrtlOptions @@ -334,7 +334,7 @@ class DriverSpec extends FreeSpec with Matchers with BackendCompilationUtilities val annoFile = new File(targetDir, "annotations.anno") optionsManager.parse( - Array("--infer-rw", "circuit", "-faf", annoFile.toString) + Array("--infer-rw", "-faf", annoFile.toString) ) should be(true) copyResourceToFile("/annotations/SampleAnnotations.anno.json", annoFile) |
