Skip to content

Commit

Permalink
one last try at getting symbolic tests working for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
samalws-tob committed Apr 10, 2024
1 parent f6ba713 commit 104cefa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/scripts/install-z3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ if [ "$HOST_OS" = "Linux" ]; then
sudo apt-get update
sudo apt-get install -y z3
fi
# symbolic tests are currently disabled on windows because they fail
# if [ "$HOST_OS" = "Windows" ]; then
# choco install z3
# fi
if [ "$HOST_OS" = "Windows" ]; then
choco install z3 --version=4.8.14
fi
3 changes: 1 addition & 2 deletions src/test/Tests/Symbolic.hs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
module Tests.Symbolic (symbolicTests) where

import System.Info (os)
import Test.Tasty (TestTree, testGroup)
import Common (testContract', solved, passed)
import Echidna.Types.Campaign (WorkerType(..))

symbolicTests :: TestTree
symbolicTests = testGroup "Symbolic tests" $ if os /= "linux" then [] else
symbolicTests = testGroup "Symbolic tests"
[ testContract' "symbolic/sym.sol" Nothing Nothing (Just "symbolic/sym.yaml") True SymbolicWorker
[ ("echidna_sym passed", passed "echidna_sym") ]

Expand Down

0 comments on commit 104cefa

Please sign in to comment.