Skip to content

Commit

Permalink
REVERT ME: Debug failure on remote.
Browse files Browse the repository at this point in the history
Please do not base work on this commit because I will have to force-push a hard reset to get rid of it!
  • Loading branch information
petervdonovan committed Jun 12, 2022
1 parent 944b824 commit c1fa046
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

# Run the unit tests.
unit-tests:
uses: lf-lang/lingua-franca/.github/workflows/unit-tests.yml@master
uses: lf-lang/lingua-franca/.github/workflows/unit-tests.yml@fed-gen
needs: cancel

# Run tests for the standalone compiler.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: ./.github/actions/prepare-build-env
- name: Run compiler tests
run: |
./gradlew test --tests org.lflang.tests.compiler.*
./gradlew clean test --tests org.lflang.tests.compiler.*
- name: Report to CodeCov
uses: codecov/[email protected]
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public class RoundTripTests {
@Inject
ParseHelper<Model> parser;

/**
* Test whether we can correctly make a round trip from the AST through the
* formatter and back via the parser.
*/
@Test
public void roundTripTest() throws Exception {
int nonFailures = 0;
Expand All @@ -61,7 +65,7 @@ private void run(Path file) throws Exception {
resultingModel.eResource().getErrors().forEach(System.err::println);
Assertions.assertTrue(resultingModel.eResource().getErrors().isEmpty());
}
checkSemanticallyEquivalent(originalModel, resultingModel);
// checkSemanticallyEquivalent(originalModel, resultingModel);
}

private Model parse(Path file) {
Expand Down

0 comments on commit c1fa046

Please sign in to comment.