Skip to content

Commit b533cda

Browse files
committed
Add SKIP_SOROBAN_TESTS and use in second CI run
1 parent 4429a2e commit b533cda

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

ci-build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ time make check
201201
echo Running fixed check-test-tx-meta tests
202202
export TEST_SPEC='[tx]'
203203
export STELLAR_CORE_TEST_PARAMS="--ll fatal -r simple --all-versions --rng-seed 12345 --check-test-tx-meta ${SRC_DIR}/test-tx-meta-baseline-${PROTOCOL}"
204+
export SKIP_SOROBAN_TESTS=true
204205
time make check
205206

206207
echo All done

src/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ CARGO=cargo +$(RUST_TOOLCHAIN_CHANNEL)
128128
# we pass some configuration by environment variable
129129
# to tests since they can't take command-line arguments.
130130
export RUST_TOOLCHAIN_CHANNEL
131+
export SKIP_SOROBAN_TESTS
131132
export top_srcdir
132133
export top_builddir
133134

src/test/check-sorobans

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ then
1717
exit 1
1818
fi
1919

20+
if [ -n "${SKIP_SOROBAN_TESTS}" ];
21+
then
22+
echo "skipping soroban tests"
23+
exit 0
24+
fi
25+
2026
# Define tests to skip
2127
# `test_expected_size` tests the actual memory sizes of types used in memory metering.
2228
# This test is skipped because memory sizes vary based on Rust compiler version and

0 commit comments

Comments
 (0)