Migrate to new external tests script

This commit is contained in:
Rodrigo Q. Saramago 2023-05-06 13:42:25 +02:00
parent 41742c5410
commit d80fd1b572
No known key found for this signature in database
GPG Key ID: 9B36B2525704A359

View File

@ -1251,17 +1251,17 @@ jobs:
equal: [<< parameters.binary_type >>, "solcjs"]
steps:
- run:
name: External << parameters.project >> tests (solcjs)
name: External << parameters.project >> tests (<< parameters.binary_type >>)
command: |
test/externalTests/<< parameters.project >>.sh solcjs /tmp/workspace/soljson.js
test/external_tests.py test --solc-binary-type "<< parameters.binary_type >>" --solc-binary-path /tmp/workspace/soljson.js --run "<< parameters.project >>"
- when:
condition:
equal: [<< parameters.binary_type >>, "native"]
steps:
- run:
name: External << parameters.project >> tests (native)
name: External << parameters.project >> tests (<< parameters.binary_type >>)
command: |
test/externalTests/<< parameters.project >>.sh native /tmp/workspace/solc/solc-static-linux
test/external_tests.py test --solc-binary-type "<< parameters.binary_type >>" --solc-binary-path /tmp/workspace/solc/solc-static-linux --run "<< parameters.project >>"
- store_artifacts:
path: reports/externalTests/
# persist_to_workspace fails if the directory does not exist and the test script will create