Skip to content
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

Fix references to old test location #718

Merged
merged 1 commit into from
Feb 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
- name: Assert test
uses: crytic/echidna-action@v1
with:
files: "examples/solidity/basic/assert.sol"
files: "tests/solidity/basic/assert.sol"
contract: "TestAssert"
config: "examples/solidity/basic/assert.yaml"
config: "tests/solidity/basic/assert.yaml"
solc-version: 0.6.12
negate-exit-status: 1

- name: Multi-abi test
uses: crytic/echidna-action@v1
with:
files: "examples/solidity/basic/multi-abi.sol"
files: "tests/solidity/basic/multi-abi.sol"
contract: "B"
multi-abi: true
solc-version: 0.7.6
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To check these invariants, run:
$ echidna-test myContract.sol
```

An example contract with tests can be found [tests/solidity/basic/flags.sol](examples/solidity/basic/flags.sol). To run it, you should execute:
An example contract with tests can be found [tests/solidity/basic/flags.sol](tests/solidity/basic/flags.sol). To run it, you should execute:
```
$ echidna-test tests/solidity/basic/flags.sol
```
Expand Down Expand Up @@ -104,7 +104,7 @@ $ echidna-test contract.sol --contract TEST --config config.yaml
The configuration file allows users to choose EVM and test generation
parameters. An example of a complete and annotated config file with the default
options can be found at
[tests/solidity/basic/default.yaml](examples/solidity/basic/default.yaml).
[tests/solidity/basic/default.yaml](tests/solidity/basic/default.yaml).
More detailed documentation on the configuration options is available in our
[wiki](https://github.com/trailofbits/echidna/wiki/Config).

Expand Down Expand Up @@ -188,7 +188,7 @@ $ docker build -t echidna .
Then, run it via:

```
$ docker run -it -v `pwd`:/src echidna echidna-test /src/examples/solidity/basic/flags.sol
$ docker run -it -v `pwd`:/src echidna echidna-test /src/tests/solidity/basic/flags.sol
```

### Building using Stack
Expand Down