Compiler test scripts: added RandomX tests

This commit is contained in:
SChernykh
2025-07-07 10:54:58 +02:00
parent e179208053
commit c5b4e84652
6 changed files with 48 additions and 30 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/sh
set -e
cd /p2pool
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release $COMPILER 1>> /p2pool/output.log 2>&1
make -j$(nproc) p2pool 1>> /p2pool/output.log 2>&1
./p2pool --test 1>> /p2pool/output.log 2>&1
make -j$(nproc) randomx-tests 1>> /p2pool/output.log 2>&1
external/src/RandomX/randomx-tests 1>> /p2pool/output.log 2>&1
cd ../tests
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release $COMPILER 1>> /p2pool/output.log 2>&1
make -j$(nproc) p2pool_tests 1>> /p2pool/output.log 2>&1
gunzip *.gz
./p2pool_tests 1>> /p2pool/output.log 2>&1