mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Also run commandline tests with ASAN.
This commit is contained in:
parent
1feefa1ccc
commit
a2773e8272
@ -320,12 +320,19 @@ jobs:
|
|||||||
update-alternatives --install /usr/bin/llvm-symbolizer llvm-symbolizer /usr/bin/llvm-symbolizer-7 1
|
update-alternatives --install /usr/bin/llvm-symbolizer llvm-symbolizer /usr/bin/llvm-symbolizer-7 1
|
||||||
- run: mkdir -p test_results
|
- run: mkdir -p test_results
|
||||||
- run:
|
- run:
|
||||||
name: Run tests with ASAN
|
name: Run soltest with ASAN
|
||||||
command: |
|
command: |
|
||||||
ulimit -a
|
ulimit -a
|
||||||
# Increase stack size because ASan makes stack frames bigger and that breaks our assumptions (in tests).
|
# Increase stack size because ASan makes stack frames bigger and that breaks our assumptions (in tests).
|
||||||
ulimit -s 16384
|
ulimit -s 16384
|
||||||
build/test/soltest --logger=JUNIT,test_suite,test_results/result.xml -- --no-ipc --testpath test
|
build/test/soltest --logger=JUNIT,test_suite,test_results/result.xml -- --no-ipc --testpath test
|
||||||
|
- run:
|
||||||
|
name: Run commandline tests with ASAN
|
||||||
|
command: |
|
||||||
|
ulimit -a
|
||||||
|
# Increase stack size because ASan makes stack frames bigger and that breaks our assumptions (in tests).
|
||||||
|
ulimit -s 16384
|
||||||
|
test/cmdlineTests.sh
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: test_results/
|
path: test_results/
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
@ -444,9 +451,7 @@ workflows:
|
|||||||
requires:
|
requires:
|
||||||
- build_x86_linux
|
- build_x86_linux
|
||||||
- test_x86_clang7_asan:
|
- test_x86_clang7_asan:
|
||||||
filters:
|
<<: *build_on_tags
|
||||||
branches:
|
|
||||||
only: develop
|
|
||||||
requires:
|
requires:
|
||||||
- build_x86_clang7_asan
|
- build_x86_clang7_asan
|
||||||
- test_x86_mac:
|
- test_x86_mac:
|
||||||
|
Loading…
Reference in New Issue
Block a user