Alexander Arlt
|
fe68200f30
|
[tests] Refactor scripts/ASTImportTest.sh. (#13576)
* [tests] Refactor scripts/ASTImportTest.sh.
Co-authored-by: Nuno Santos <nuno.santos@ethereum.org>
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
|
2022-11-24 16:16:16 +01:00 |
|
George Plotnikov
|
376b923a79
|
adding support for no-pretty-print
|
2022-10-26 15:13:11 +05:00 |
|
Miles Liu
|
4e929ee145
|
Fix stripping in CLI tests does not produce correct JSON formatting
|
2022-09-21 21:25:09 +08:00 |
|
Alexander Arlt
|
ee2c4cddcd
|
test/cmdlineTests.sh: fix verbosity.
|
2022-08-15 17:37:08 +02:00 |
|
Kamil Śliwak
|
8874627dda
|
update_bugs_by_version: Don't fail when the list gets updated
|
2022-08-08 17:29:47 +02:00 |
|
Kamil Śliwak
|
8e67b28e0f
|
Make the checks that detect if a docs snippet should compile a bit more robust against comments
|
2022-06-08 21:32:30 +02:00 |
|
wechman
|
4d8a34370e
|
Create split_on_empty_lines_into_numbered_files function in scripts/common.sh
|
2022-04-06 07:26:18 +02:00 |
|
wechman
|
1e7688e8a1
|
Tests for the equivalence of one and two-stage compilation via IR supports multi-file contracts
|
2022-04-04 11:09:43 +02:00 |
|
Daniel Kirchner
|
e58c0b561d
|
Mark viaIR code generation as non-experimental.
|
2022-03-14 14:48:00 +01:00 |
|
chriseth
|
bd193ae840
|
Fix whitespace problem.
|
2021-12-01 12:46:02 +01:00 |
|
Dallon Asnes
|
70e925dbfc
|
Update test/cmdlineTests.sh
Co-authored-by: Kamil Śliwak <cameel2@gmail.com>
|
2021-11-30 10:07:50 -06:00 |
|
Dallon Asnes
|
a0aacb91a6
|
Fix cl test script on macOS
|
2021-11-29 23:43:28 -06:00 |
|
Kamil Śliwak
|
0d82fe9ca7
|
cmdlineTests.sh: Test the equivalence of one and two-stage compilation via IR
|
2021-11-10 18:12:06 +01:00 |
|
Kamil Śliwak
|
7ccdbd5b08
|
Use consistent syntax for Bash function declarations
|
2021-11-08 16:34:07 +01:00 |
|
Kamil Śliwak
|
0280c8d00e
|
Use fail and assertFail where appropriate in command-line tests
|
2021-10-14 18:56:08 +02:00 |
|
Kamil Śliwak
|
476c76b54e
|
compileFull(): Use find instead of /*/*, which requires ignoring missing files
|
2021-10-06 18:46:42 +02:00 |
|
Kamil Śliwak
|
b4073179d7
|
cmdlineTests.sh: Add msg_on_error helper that automatically prints stderr and stdout of a failed command
|
2021-10-04 14:30:30 +02:00 |
|
Kamil Śliwak
|
26f9a554fb
|
cmdlineTests.sh: Add fail helper to make exiting on an error more convenient
|
2021-10-04 14:30:30 +02:00 |
|
Kamil Śliwak
|
ce61a2bf28
|
cmdlineTests.sh: Add missing rm SOLTMPDIR and remove stray set -e
|
2021-10-04 14:29:57 +02:00 |
|
Kamil Śliwak
|
05ba53ecc3
|
cmdlineTests.sh: Don't use --force with rm unless actually needed
|
2021-10-04 14:29:57 +02:00 |
|
Kamil Śliwak
|
9662e9a8df
|
cmdlineTests.sh: Enable set -o pipefail
|
2021-10-04 14:29:57 +02:00 |
|
Kamil Śliwak
|
23f7b7781f
|
cmdlineTests.sh: Skip empty test directories
|
2021-09-27 13:17:17 +02:00 |
|
Kamil Śliwak
|
b077ef46e2
|
cmdlineTests.sh: More descriptive message about used binary path
|
2021-09-15 16:49:25 +02:00 |
|
Kamil Śliwak
|
67eed76aac
|
cmdlineTests.sh: Fix running only tests matching patterns given on the command line
|
2021-09-15 16:49:25 +02:00 |
|
soroosh-sdi
|
f5e8f5246c
|
Add switch for command line & test.sh to skip smt
- add --no-smt in scripts/tests.sh and test/cmdlineTests.sh
Signed-off-by: soroosh-sdi <soroosh.sardari@gmail.com>
|
2021-09-10 23:35:17 +04:30 |
|
priyansh786
|
803901fa7e
|
Don't create empty expectation files when updating test expectations
|
2021-08-30 22:55:37 +05:30 |
|
Kamil Śliwak
|
dc4620d2be
|
cmdlineTests.sh: Suppress message about empty output to get consistent output on release and pre-release builds
|
2021-08-05 17:11:58 +02:00 |
|
Marenz
|
dea201800f
|
Provide a better error reporting for failed cmdline tests.
|
2021-08-04 15:00:34 +02:00 |
|
Mathias Baumann
|
2ee6c7be64
|
Print @src and @use-src locations in AsmPrinter
|
2021-08-03 15:29:52 +02:00 |
|
Kamil Śliwak
|
ad3d3c0df6
|
cmdlineTests.sh: Accept test name patterns as positional arguments
|
2021-07-28 01:02:46 +02:00 |
|
Ladislav Sladecek
|
9bbeea58c8
|
Make --pretty-json work with Standard JSON output
|
2021-07-26 16:00:46 +02:00 |
|
Marenz
|
d844d84b51
|
Test yul code blocks in documentation.
|
2021-07-08 14:59:05 +02:00 |
|
Marenz
|
5291ca2dd4
|
isolate_tests: Extract code blocks from documentation using code block header
|
2021-07-06 16:57:05 +02:00 |
|
chriseth
|
0df8a38e55
|
Support metadata via IR.
|
2021-06-21 18:20:31 +02:00 |
|
Kamil Śliwak
|
2abd3073d4
|
Merge pull request #11235 from ethereum/cmdline-tests-for-stdin
Allow using stdin in cmdlineTests
|
2021-04-19 16:21:43 +02:00 |
|
Christian Parpart
|
81c7b30a6a
|
Merge pull request #11234 from ethereum/fix-file-reader-compiler-stack-source-unit-name-mismatch
Use identical source unit names in FileReader and CompilerStack
|
2021-04-14 13:46:14 +02:00 |
|
Kamil Śliwak
|
59ef75cf5a
|
cmdlineTests: Allow providing content of the standard input when not testing via Standard JSON
|
2021-04-13 13:37:12 +02:00 |
|
Kamil Śliwak
|
4e4f46cde5
|
cmdlineTests: Allow tests with no input file
|
2021-04-13 13:37:12 +02:00 |
|
Kamil Śliwak
|
b9b483a0c3
|
cmdlineTests.sh: Make regex for stripping version from test output match even if there's no whitespace after colon
|
2021-04-13 13:25:32 +02:00 |
|
Kamil Śliwak
|
7d37e37d95
|
cmdlineTests.sh: Fix error code update using the wrong value
|
2021-04-10 22:58:49 +02:00 |
|
Djordje Mijovic
|
aeba059192
|
Fixing auto update for macos.
|
2021-03-31 16:51:01 +02:00 |
|
Djordje Mijovic
|
08993a3282
|
Enabling running cmd line tests on currently unreleased version.
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
|
2021-03-25 17:11:31 +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
|
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
|
c8fc241be5
|
Avoid using $? in conditions and do && exit 1 instead if !
|
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
|
a05f3a608d
|
Don't use $ on variables inside (())
|
2021-03-04 16:53:05 +01:00 |
|
Kamil Śliwak
|
2784135c37
|
Use read with the -r option
|
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
|
4c186321c8
|
Replace some older shell syntax with newer and/or more reliable equivalents
|
2021-03-04 16:53:05 +01:00 |
|