mirror of
https://github.com/mfillpot/mathomatic.git
synced 2026-01-09 04:59:37 +00:00
18 lines
319 B
Bash
Executable File
18 lines
319 B
Bash
Executable File
#!/bin/sh
|
|
# Shell script to test the Mathomatic prime number tools.
|
|
|
|
set -e
|
|
set -u
|
|
|
|
trap "rm -f test.out bigtest.out" EXIT
|
|
|
|
make -j2 check bigcheck
|
|
|
|
echo Testing matho-pascal...
|
|
./matho-pascal >/dev/null
|
|
|
|
echo Testing matho-sumsq...
|
|
./matho-sumsq 12146807 50000000 >/dev/null
|
|
|
|
echo Prime number tools tests successful.
|