mirror of
https://github.com/enso-org/enso.git
synced 2024-12-25 03:43:41 +03:00
9134f9b2d7
Adding new _compatibility test_ `EnsoCompilerTest` to verify the new Rust based parser can produce the same `IR` as the original `AST` based one. The simplest way to execute the test from an empty repository is: ```bash enso$ sbt bootstrap enso$ sbt "testOnly *EnsoCompilerTest" ``` There are [GitHub Actions run](https://github.com/enso-org/enso/actions/runs/3087664644/jobs/4993266212#step:9:5187) on Linux as well as [run on Windows](https://github.com/enso-org/enso/actions/runs/3087664644/jobs/4993266370#step:9:5254) that show `EnsoCompilerTest` is being executed by the CI (good, as that means `.so` was properly built and linked to the JVM running the test). The [linux](https://github.com/enso-org/enso/actions/runs/3087664644/jobs/4993266212#step:9:5187) as well as [windows](https://github.com/enso-org/enso/actions/runs/3087664644/jobs/4993266370#step:9:5254) runs also demonstrate that failures in the `EnsoCompilerTest` suite fail the CI. # Important Notes Right now [there are five test failures](https://github.com/enso-org/enso/actions/runs/3087664644/jobs/4993266212#step:9:5187) - waiting for @kazcw to make sure `codeRepr()` doesn't contain spaces. However, as this PR is more about the infrastructure, I am disabling the currently failing tests in [ |
||
---|---|---|
.. | ||
src/main/scala/licenses | ||
BenchTasks.scala | ||
build.properties | ||
BuildInfo.scala | ||
Cargo.scala | ||
CopyTruffleJAR.scala | ||
CustomLogManager.scala | ||
Distribution.scala | ||
DistributionPackage.scala | ||
Editions.scala | ||
EnvironmentCheck.scala | ||
FrgaalJavaCompiler.scala | ||
GatherLicenses.scala | ||
GenerateAST.scala | ||
GenerateFlatbuffers.scala | ||
LauncherShimsForTest.scala | ||
LibraryManifestGenerator.scala | ||
NativeImage.scala | ||
Platform.scala | ||
plugins.sbt | ||
RecompileParser.scala | ||
StdBits.scala | ||
VerifyReflectionSetup.scala | ||
WithDebugCommand.scala |