Skip to content

Commit

Permalink
fix(objectionary#3162): enable rust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed May 9, 2024
1 parent be4c314 commit 8ff2f1f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions eo-runtime/src/test/java/org/eolang/SnippetTestCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -258,18 +258,12 @@ void runsTestsAfterPhiAndUnphi(final @TempDir Path temp) throws IOException {
* @param farea Farea instance
* @param target Directory to copy from
* @throws IOException If fails to copy files
* @todo #3092:30min Remove filter with "rust-tests.eo". BinarizeMojo does not add rust
* dependencies to rust-tests after phi->unphi (see:
* <a href="https://github.com/objectionary/eo/issues/3145">this</a> for details).
* When it's resolved we need to remove the filter and make sure the snippet test
* {@link SnippetTestCase#runsTestsAfterPhiAndUnphi(Path)} still works.
*/
private static void copySources(final Farea farea, final String target) throws IOException {
final Path runtime = Paths.get(System.getProperty("user.dir"))
.resolve(target);
final Collection<Path> sources = Files.walk(runtime)
.filter(src -> !src.toFile().isDirectory())
.filter(src -> !src.endsWith("rust-tests.eo"))
.collect(Collectors.toList());
for (final Path src : sources) {
farea.files()
Expand Down

0 comments on commit 8ff2f1f

Please sign in to comment.