2023-05-10 04:50:42 +00:00
|
|
|
#!/bin/bash
|
|
|
|
COMMIT=$(git rev-parse HEAD)
|
|
|
|
DATE=$(date --iso)
|
|
|
|
LOCATION=$(dirname ${BASH_SOURCE[0]})
|
2024-04-01 04:17:54 +00:00
|
|
|
FLAGS=("--check-undocumented" "--check-timings")
|
2023-05-10 04:50:42 +00:00
|
|
|
RESULTS=latest.txt
|
|
|
|
{
|
|
|
|
cd $LOCATION
|
2024-04-01 04:17:54 +00:00
|
|
|
echo "Last run on $DATE at commit $COMMIT" with flags ${FLAGS[@]} | tee $RESULTS
|
2023-05-10 04:50:42 +00:00
|
|
|
echo "" | tee -a $RESULTS
|
2024-04-01 04:17:54 +00:00
|
|
|
cargo run -- -q --testsuite "../jsmoo/misc/tests/GeneratedTests/z80/v1/" ${FLAGS[@]} | tee -a $RESULTS
|
2023-05-10 04:50:42 +00:00
|
|
|
}
|