cxxboy
bd1fc0e88d
script to automate updates to robots.txt #11199
...
Rewritten the script to work with a 'robots.txt' template file and we
generate the 'robots.txt' from the template when we execute the script.
It's found to be a better alternative to editing the 'robots.txt' file
in-place.
2021-04-27 17:54:55 -04:00
Alexander Arlt
4e7dc24383
Fix problems detected by pylint 2.8.1.
2021-04-25 23:33:14 -05:00
Leonardo Alt
dd1865873e
Choose contracts to be analyzed by the SMTChecker
2021-04-21 10:34:14 +02:00
chriseth
4912bfe639
Merge pull request #11229 from ethereum/antlrPath
...
Fix import paths in grammar and grammar testing details.
2021-04-12 16:30:41 +02:00
Daniel Kirchner
6fdfd8b62b
Fix import path grammar and grammar testing details.
2021-04-12 14:54:36 +02:00
anurag4u80
ca382a5915
Support for 11.2 MacOS Big Sur
2021-04-09 19:32:32 +05:30
chriseth
5433a640fb
Merge pull request #11190 from ethereum/solc-bin-version-check
...
[solc-bin] Add version check to bytecode PR check
2021-04-01 14:49:45 +02:00
chriseth
d80059fb98
Skip certain test for grammar test.
2021-03-30 21:15:46 +02:00
Kamil Śliwak
03a0998b5b
solc-bin: Validate version reported by the compiler in the bytecode PR check
2021-03-29 20:17:45 +02:00
Kamil Śliwak
d68d4727eb
Fix bytecode PR check ignoring TOP_REF and always using HEAD as the end of the commit range
2021-03-29 17:48:49 +02:00
Kamil Śliwak
d4e95a76e4
bytecode_reports_for_modified_binaries.sh: Add a helper for exiting with an error message
2021-03-29 17:48:38 +02:00
Kamil Śliwak
855a806a5b
Rewrite get_version.sh to make it work on macOS
2021-03-25 13:29:32 +01:00
Kamil Śliwak
14adb7df3b
Really remove shellcheck ignore list
2021-03-15 20:02:42 +01:00
Kamil Śliwak
b8979a939c
Remove shellcheck ignore list
2021-03-15 12:16:43 +01:00
Kamil Śliwak
8e44b59251
Disable shellcheck in the remaining situations where it's either wrong or the problem is not worth fixing
2021-03-15 12:16:43 +01:00
Kamil Śliwak
008d648af3
Fix or disable find/ls related warnings
2021-03-15 12:16:43 +01:00
Kamil Śliwak
7929175db6
Add shellcheck source directive in places where it can't find sourced files on its own
2021-03-15 12:16:43 +01:00
Kamil Śliwak
978c25f1a4
Fix typos in isolate_tests.py
2021-03-10 20:42:46 +01:00
chriseth
eb85a4414c
Fix handling of carriage return.
2021-03-09 15:33:12 +01:00
Kamil Śliwak
cf94c3f7df
Remove scripts that now have no warnings from shellcheck ignore list
2021-03-04 16:57:25 +01:00
Kamil Śliwak
c8fc241be5
Avoid using $? in conditions and do && exit 1 instead if !
2021-03-04 16:57:25 +01:00
Kamil Śliwak
87f9eba1cf
docs_version_pragma_check.sh: Set SOLC only for the duration of compileFull
...
- This is a global variable and would be better to just make it a parameter. At least this makes shellcheck shut up
2021-03-04 16:57:25 +01:00
Kamil Śliwak
e8a70e8e4b
Prefix globs with ./ or use -- to make commands safe with files named like command-line options
2021-03-04 16:57:25 +01:00
Kamil Śliwak
7d845c0289
Don't use globs in command names
2021-03-04 16:57:25 +01:00
Kamil Śliwak
62bf467fc2
Fix warnings about constructions that have no effect
2021-03-04 16:53:05 +01:00
Kamil Śliwak
4e3ebda0f4
Don't use negative exit codes
2021-03-04 16:53:05 +01:00
Kamil Śliwak
dbfd3db038
Use mapfile instead of () for reading multiple lines as separate array items
2021-03-04 16:53:05 +01:00
Kamil Śliwak
d14c4288ec
Make scripts fail on non-zero return codes and undefined variables where possible
2021-03-04 16:53:05 +01:00
Kamil Śliwak
75b87d159d
Declare variables separately when assigning the result of $()
2021-03-04 16:53:05 +01:00
Kamil Śliwak
1c7cc376d1
Use "$@" instead of $*
2021-03-04 16:53:05 +01:00
Kamil Śliwak
4c186321c8
Replace some older shell syntax with newer and/or more reliable equivalents
2021-03-04 16:53:05 +01:00
Kamil Śliwak
8c57c7cb35
Explicitly use Bash in scripts that actually use non-POSIX features or do not have a shebang at all
2021-03-04 16:53:05 +01:00
Bhargava Shastry
1ddfc7463a
Tests: Do not remove filename from boost filesystem path for corner
...
cases.
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2021-02-22 10:32:41 +01:00
Alex Beregszaszi
f766700000
Remove unreachable warning for shift/exp operator
2021-02-16 13:17:58 +00:00
Alex Beregszaszi
efe3199981
Remove unreachable assertion for import resolution
2021-02-16 12:55:01 +00:00
Alex Beregszaszi
346344dc7b
Add missing test case for try/Catch
2021-02-16 12:33:55 +00:00
Alex Beregszaszi
ded5d721d2
Turn unreachable error into assertion
2021-02-16 10:59:22 +00:00
Alex Beregszaszi
fd9050614a
Remove untriggerable errors on variadic calls (which have been removed)
2021-02-15 22:45:57 +00:00
chriseth
c82c2189d4
Merge pull request #10877 from ethereum/bash-arrays-for-arg-variables
...
Use Bash arrays for argument lists in shell scripts
2021-02-08 13:31:31 +01:00
Kamil Śliwak
800c338534
Scripts for generating and comparing bytecode reports for solc-bin binaries
2021-02-03 19:15:52 +01:00
chriseth
8a4e6acdac
Merge pull request #10680 from ethereum/more-features-in-prepare-report
...
More features in prepare_report.py
2021-02-03 11:51:51 +01:00
Leonardo
d393624384
Merge pull request #10585 from ethereum/fix-quoting-and-whitespace-in-shell-scripts
...
Fix quoting in shell scripts
2021-02-03 11:27:40 +01:00
Kamil Śliwak
67fe5fb145
prepare_report.py: Print some statistics about contracts and errors
2021-02-02 16:16:28 +01:00
Kamil Śliwak
4576b1ec89
prepare_report.py: --exit-on-error option
2021-02-02 16:16:28 +01:00
Kamil Śliwak
acaab18a0a
prepare_report.py: More information on stdout, with verbosity control
2021-02-02 16:16:28 +01:00
Kamil Śliwak
96fd9051ed
prepare_report.py: Add --report-file option
2021-02-02 16:16:28 +01:00
Kamil Śliwak
7bebcb7871
prepare_report.js: Print ERROR in case of an exception during compilation instead of failing
...
- Our v0.4.11 release raises an exception on some LLL snippets containing returnlll (extracted from its end-to-end tests).
- The report comparison will fail anyway because emscripten prints an abort code to stdout in that case but at least we'll be able to continue if we're comparing multiple versions.
2021-02-02 16:16:14 +01:00
Kamil Śliwak
17fe96c4d0
prepare_report.py: Don't use --metadata option with compiler versions that do not support it
...
- Before 0.4.3 the option was unavailable but ignored.
- Between 0.4.3 and 0.4.6 an attempt to use that option causes an error.
2021-02-02 16:16:14 +01:00
Kamil Śliwak
49aede680b
prepare_report.py: Add --force-no-optimize-yul flag to work around a bug in solc 0.6.0/0.6.1
2021-02-02 16:16:14 +01:00
Kamil Śliwak
7e48aeb848
prepare_report.py: Make parsing more lax to handle output from older compiler versions
2021-02-02 16:16:14 +01:00