Modify dehydrate/test.sh
Some checks failed
Build-Test-Publish / build (linux/arm64) (push) Failing after 9s
Build-Test-Publish / build (linux/amd64) (push) Successful in 26s
Build-Test-Publish / test-install-from-scratch (linux/amd64) (push) Has been skipped
Build-Test-Publish / test-install-from-scratch (linux/arm64) (push) Has been skipped

This commit is contained in:
Your Name
2025-06-25 17:54:30 +12:00
parent 3d4744b7b1
commit 95da0d28d4
22 changed files with 776 additions and 5 deletions

View File

@ -0,0 +1,16 @@
#!/bin/bash
# Get the directory where this script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR"
# Clean up old test data
rm -rf dehydrate_test_data
# Build the test program
docker run --rm -v $(pwd):/workdir -w /workdir gitea.jde.nz/public/dropshell-build-base:latest \
g++ -std=c++23 -static dehydrate_test.cpp -o dehydrate_test
# Run the test
./dehydrate_test