Skip to content

Commit

Permalink
windows binary debug 1
Browse files Browse the repository at this point in the history
  • Loading branch information
wenlinlee committed Jun 24, 2024
1 parent ecda8f4 commit 7ea42db
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: brew install [email protected] openjdk
- name: run build test
if: runner.os == 'Windows'
run: ./gradlew.bat build
run: ./gradlew.bat build --info
- name: run integration testing
if: runner.os != 'Windows'
run: /bin/bash .ci/ci_check.sh
Expand Down
45 changes: 25 additions & 20 deletions src/test/java/org/fisco/solc/compiler/test/SolcTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,29 +37,34 @@ public void smSolcTest() {

@Test
public void ecdsaSolcTest() {
Solc solc = new Solc(false, Version.V0_4_25);
Assert.assertNotNull(solc);
Assert.assertTrue(solc.getExecutable().exists());
Assert.assertTrue(solc.getExecutable().canExecute());
try {
Solc solc = new Solc(false, Version.V0_4_25);
Assert.assertNotNull(solc);
Assert.assertTrue(solc.getExecutable().exists());
Assert.assertTrue(solc.getExecutable().canExecute());

solc = new Solc(false, Version.V0_5_2);
Assert.assertNotNull(solc);
Assert.assertTrue(solc.getExecutable().exists());
Assert.assertTrue(solc.getExecutable().canExecute());
solc = new Solc(false, Version.V0_5_2);
Assert.assertNotNull(solc);
Assert.assertTrue(solc.getExecutable().exists());
Assert.assertTrue(solc.getExecutable().canExecute());

solc = new Solc(false, Version.V0_6_10);
Assert.assertNotNull(solc);
Assert.assertTrue(solc.getExecutable().exists());
Assert.assertTrue(solc.getExecutable().canExecute());
solc = new Solc(false, Version.V0_6_10);
Assert.assertNotNull(solc);
Assert.assertTrue(solc.getExecutable().exists());
Assert.assertTrue(solc.getExecutable().canExecute());

solc = new Solc(false, Version.V0_8_11);
Assert.assertNotNull(solc);
Assert.assertTrue(solc.getExecutable().exists());
Assert.assertTrue(solc.getExecutable().canExecute());
solc = new Solc(false, Version.V0_8_11);
Assert.assertNotNull(solc);
Assert.assertTrue(solc.getExecutable().exists());
Assert.assertTrue(solc.getExecutable().canExecute());

solc = new Solc(false, Version.V0_8_26);
Assert.assertNotNull(solc);
Assert.assertTrue(solc.getExecutable().exists());
Assert.assertTrue(solc.getExecutable().canExecute());
solc = new Solc(false, Version.V0_8_26);
Assert.assertNotNull(solc);
Assert.assertTrue(solc.getExecutable().exists());
Assert.assertTrue(solc.getExecutable().canExecute());
}
catch (Exception e) {
e.printStackTrace();
}
}
}

0 comments on commit 7ea42db

Please sign in to comment.