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(acir): when retrying failed ACIR tests it should not use the default CLI argument #1673

Merged
merged 2 commits into from
Aug 21, 2023

Conversation

kevaundray
Copy link
Contributor

If a test is ran and it fails, the script will try to re-run the test using verbose mode so that you can debug the failure.

Since we were not passing the flag for the bytecode, it will use the default path of ./target/main.bytecode which would inevitably fail because all of the compiled tests are named after their directories, like ./target/1_mul.bytecode .

Checklist:

Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

  • If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
  • I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
  • Every change is related to the PR description.
  • I have linked this pull request to relevant issues (if any exist).

@@ -61,7 +61,7 @@ function test() {
else
echo -e "\033[31mFAILED\033[0m"
# Run again verbose.
$BB prove_and_verify -v -c $CRS_PATH
$BB prove_and_verify -v -c $CRS_PATH -b ./target/$dir_name.bytecode
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This simply just takes L52 and copies it here

@kevaundray kevaundray marked this pull request as ready for review August 19, 2023 22:30
@kevaundray kevaundray enabled auto-merge (squash) August 21, 2023 10:45
Copy link
Member

@TomAFrench TomAFrench left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kevaundray kevaundray merged commit 910b103 into master Aug 21, 2023
78 checks passed
@kevaundray kevaundray deleted the kw/fix-bug-in-acir-test-script branch August 21, 2023 10:52
codygunton pushed a commit that referenced this pull request Jan 23, 2024
* Copied index.html to output (#1661)

* Generate htnl file (#1662)

* Deployment fix (#1663)

* Deployment fixes (#1665)

* Deployment fix attempt (#1667)

* Updated falafel and kebab terraform with new project directory structure (#1670)

* Reduce the amount of logging in kebab (#1668)

* Reduce the amount of logging in kebab

* Logging improvement

* Bug fix

* Reverted erroneous change

* Pw/increase faucet drip (#1669)

* Increased the faucet drip size

* Force contract redeployment

* Deploy terraform from correct directory (#1671)

* JB/Website grants updates (#1666)

* Add new grant

* Improve research images

* Mini typo

* JB/Website build manifest (#1672)

* Add website to build manifest

* JB/Brand iteration (#1673)

* Small build change

* JB/Fix website deployment (#1676)

* Fix deployment

* JB/Fix website deploy (#1677)

* Fix deploy

Co-authored-by: Jonathan Bursztyn <jobur93@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants