Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Commit 73225c7

Browse files
authored
retain releasetest artifacts for debugging [skip ci] (#327)
1 parent 89286f5 commit 73225c7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

oqs-scripts/release-test.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
if [ -d oqs-scripts ]; then
99
# just a temp setup
10-
git checkout -b reltest
10+
git checkout -b reltest && \
1111
sed -i "s/enable\: false/enable\: true/g" oqs-template/generate.yml && \
1212
python3 oqs-template/generate.py && \
1313
oqs-scripts/clone_liboqs.sh && \
@@ -19,9 +19,8 @@ if [ -d oqs-scripts ]; then
1919
cp oqs/lib/*.so* . && \
2020
make clean && ./Configure shared linux-x86_64 -lm && \
2121
make -j 48 && LD_LIBRARY_PATH=. make test && \
22-
LD_LIBRARY_PATH=. python3 -m pytest --numprocesses=auto oqs-test/test_tls_full.py oqs-test/test_cms.py oqs-test/test_speed.py
23-
# revert temp setup
24-
git reset --hard
22+
LD_LIBRARY_PATH=. python3 -m pytest --numprocesses=auto oqs-test/test_tls_full.py oqs-test/test_cms.py oqs-test/test_speed.py && \
23+
git reset --hard && git checkout OQS-OpenSSL_1_1_1-stable && git branch -D reltest
2524
else
2625
echo "$0 must be run in main oqs-openssl folder. Exiting."
2726
fi

0 commit comments

Comments
 (0)