-
Notifications
You must be signed in to change notification settings - Fork 42
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
Run crucible-jvm tests on CI #634
Comments
It looks like the ashes test suite under |
Getting ashes to work at all (let alone on CI) will likely be more challenging, as it doesn't appear to mesh well with how Crux currently dumps information to the terminal:
If I change the verbosity from 2 to 0, it instead fails with:
|
RyanGlScott
added a commit
that referenced
this issue
Feb 3, 2021
This mirrors a similar recent change introduced to SAW in GaloisInc/saw-script#1030. While I was in town, I updated the two `crucible-jvm`–related test suites to use the `PATH` instead of the `-j` flag. I can't exactly confirm via CI if these changes work (see #634), but they appear to do the right thing locally. Fixes #633.
RyanGlScott
added a commit
to GaloisInc/saw-script
that referenced
this issue
Feb 5, 2021
This allows SAW to deal with JDK 9 or later, which packages its standard library not in a JAR file, but in a JIMAGE file. This leverages `crucible-jvm` changes from GaloisInc/crucible#634. This fixes #861. Other things: * I removed the dependency on the `xdg-basedir`, as it was unused. This dependency was likely added quite some time ago, and it appears that `saw-script` switched over to using XDG-related functionality from the `directory` library since then. I opted to use `directory` to find the `.cache` directory as well, so I have made that clear in the `.cabal` file. * The `biJavaCodebase :: Codebase` field of `BuiltinContext` is completely unused, which I noticed when making changes to the `Codebase` type. Let's just remove it. This fixes #1003.
RyanGlScott
added a commit
to GaloisInc/saw-script
that referenced
this issue
Feb 5, 2021
This allows SAW to deal with JDK 9 or later, which packages its standard library not in a JAR file, but in a JIMAGE file. This leverages `crucible-jvm` changes from GaloisInc/crucible#634. This fixes #861. Other things: * I removed the dependency on the `xdg-basedir`, as it was unused. This dependency was likely added quite some time ago, and it appears that `saw-script` switched over to using XDG-related functionality from the `directory` library since then. I opted to use `directory` to find the `.cache` directory as well, so I have made that clear in the `.cabal` file. * The `biJavaCodebase :: Codebase` field of `BuiltinContext` is completely unused, which I noticed when making changes to the `Codebase` type. Let's just remove it.
RyanGlScott
added a commit
to GaloisInc/saw-script
that referenced
this issue
Feb 5, 2021
This allows SAW to deal with JDK 9 or later, which packages its standard library not in a JAR file, but in a JIMAGE file. This leverages `crucible-jvm` changes from GaloisInc/crucible#634. This fixes #861. Other things: * I removed the dependency on the `xdg-basedir`, as it was unused. This dependency was likely added quite some time ago, and it appears that `saw-script` switched over to using XDG-related functionality from the `directory` library since then. I opted to use `directory` to find the `.cache` directory as well, so I have made that clear in the `.cabal` file. * The `biJavaCodebase :: Codebase` field of `BuiltinContext` is completely unused, which I noticed when making changes to the `Codebase` type. Let's just remove it.
RyanGlScott
added a commit
to GaloisInc/saw-script
that referenced
this issue
Feb 5, 2021
This allows SAW to deal with JDK 9 or later, which packages its standard library not in a JAR file, but in a JIMAGE file. This leverages `crucible-jvm` changes from GaloisInc/crucible#634. This fixes #861. Other things: * I removed the dependency on the `xdg-basedir`, as it was unused. This dependency was likely added quite some time ago, and it appears that `saw-script` switched over to using XDG-related functionality from the `directory` library since then. I opted to use `directory` to find the `.cache` directory as well, so I have made that clear in the `.cabal` file. * The `biJavaCodebase :: Codebase` field of `BuiltinContext` is completely unused, which I noticed when making changes to the `Codebase` type. Let's just remove it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the
tests.sh
script associated withcrucible-jvm
is not run on CI, which leaves it susceptible to bitrotting. Indeed, it's not surprising that's it isn't ran on CI at the moment, as it hardcodes the location ofrt.jar
:crucible/crucible-jvm/tests/test.sh
Line 3 in 91236c3
We should fix this and make sure that CI is capable of running this.
The text was updated successfully, but these errors were encountered: